mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
MdeModulePkg: Fix EFI_SUCCESS typos
EFI_SUCESS -> EFI_SUCCESS EFI_SUCESSS -> EFI_SUCCESS Signed-off-by: Gao Qihang <gaoqihang@loongson.cn>
This commit is contained in:
parent
108757b613
commit
c4bc60b2b7
20 changed files with 36 additions and 36 deletions
|
|
@ -371,7 +371,7 @@ ContainEfiImage (
|
|||
@param RomBase Base address of Option Rom.
|
||||
|
||||
@retval EFI_OUT_OF_RESOURCES No enough memory to hold image.
|
||||
@retval EFI_SUCESS Successfully loaded Option Rom.
|
||||
@retval EFI_SUCCESS Successfully loaded Option Rom.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ GetOpRomInfo (
|
|||
@param RomBase Base address of Option Rom.
|
||||
|
||||
@retval EFI_OUT_OF_RESOURCES No enough memory to hold image.
|
||||
@retval EFI_SUCESS Successfully loaded Option Rom.
|
||||
@retval EFI_SUCCESS Successfully loaded Option Rom.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ CONST EFI_PEI_NOTIFY_DESCRIPTOR mMemoryDiscoveredNotifyList = {
|
|||
@param FileHandle Handle of the file being invoked.
|
||||
@param PeiServices Describes the list of possible PEI Services.
|
||||
|
||||
@retval EFI_SUCESS The entry point of DXE IPL PEIM executes successfully.
|
||||
@retval EFI_SUCCESS The entry point of DXE IPL PEIM executes successfully.
|
||||
@retval Others Some error occurs during the execution of this function.
|
||||
|
||||
**/
|
||||
|
|
@ -80,7 +80,7 @@ PeimInitializeDxeIpl (
|
|||
Status = PeiServicesRegisterForShadow (FileHandle);
|
||||
if (Status == EFI_SUCCESS) {
|
||||
//
|
||||
// EFI_SUCESS means it is the first time to call register for shadow.
|
||||
// EFI_SUCCESS means it is the first time to call register for shadow.
|
||||
//
|
||||
return Status;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
|||
|
||||
@param CapsuleHeader Pointer to the UEFI capsule image to be checked.
|
||||
|
||||
@retval EFI_SUCESS Input capsule is supported by firmware.
|
||||
@retval EFI_SUCCESS Input capsule is supported by firmware.
|
||||
@retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -41,7 +41,7 @@ SupportCapsuleImage (
|
|||
|
||||
@param CapsuleHeader Pointer to the UEFI capsule image to be processed.
|
||||
|
||||
@retval EFI_SUCESS Capsule Image processed successfully.
|
||||
@retval EFI_SUCCESS Capsule Image processed successfully.
|
||||
@retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
|||
after choose one file.
|
||||
@param File Return the device path for the last time chosed file.
|
||||
|
||||
@retval EFI_SUCESS Choose the file success.
|
||||
@retval EFI_SUCCESS Choose the file success.
|
||||
@retval Other errors Choose the file failed.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ BOOLEAN
|
|||
after choose one file.
|
||||
@param File Return the device path for the last time chosed file.
|
||||
|
||||
@retval EFI_SUCESS Choose the file success.
|
||||
@retval EFI_SUCCESS Choose the file success.
|
||||
@retval Other errors Choose the file failed.
|
||||
**/
|
||||
typedef
|
||||
|
|
|
|||
|
|
@ -396,7 +396,7 @@ BOpt_GetBootOptions (
|
|||
|
||||
@param CallbackData The BMM context data.
|
||||
|
||||
@return EFI_SUCESS The functin completes successfully.
|
||||
@return EFI_SUCCESS The functin completes successfully.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough memory to compete the operation.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ BOpt_FreeMenu (
|
|||
@param CallbackData The BMM context data.
|
||||
|
||||
@return EFI_NOT_FOUND Fail to find "BootOrder" variable.
|
||||
@return EFI_SUCESS Success build boot option menu.
|
||||
@return EFI_SUCCESS Success build boot option menu.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -669,7 +669,7 @@ BOpt_GetDriverOptionNumber (
|
|||
|
||||
@param CallbackData The BMM context data.
|
||||
|
||||
@retval EFI_SUCESS The functin completes successfully.
|
||||
@retval EFI_SUCCESS The functin completes successfully.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough memory to compete the operation.
|
||||
@retval EFI_NOT_FOUND Fail to get "DriverOrder" variable.
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ RecordFmpCapsuleStatusVariable (
|
|||
@param[in] Completion A value between 1 and 100 indicating the current
|
||||
completion progress of the firmware update
|
||||
|
||||
@retval EFI_SUCESS The capsule update progress was updated.
|
||||
@retval EFI_SUCCESS The capsule update progress was updated.
|
||||
@retval EFI_INVALID_PARAMETER Completion is greater than 100%.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -201,7 +201,7 @@ IsValidCapsuleHeader (
|
|||
@param[in] CapsuleHeader Points to a capsule header.
|
||||
@param[out] EmbeddedDriverCount The EmbeddedDriverCount in the FMP capsule.
|
||||
|
||||
@retval EFI_SUCESS Input capsule is a correct FMP capsule.
|
||||
@retval EFI_SUCCESS Input capsule is a correct FMP capsule.
|
||||
@retval EFI_INVALID_PARAMETER Input capsule is not a correct FMP capsule.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -345,7 +345,7 @@ ValidateFmpCapsule (
|
|||
|
||||
@param[in] CapsuleHeader Points to a capsule header.
|
||||
|
||||
@retval EFI_SUCESS Input capsule is supported by firmware.
|
||||
@retval EFI_SUCCESS Input capsule is supported by firmware.
|
||||
@retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -1198,7 +1198,7 @@ RecordFmpCapsuleStatus (
|
|||
@param[in] CapFileName Capsule file name.
|
||||
@param[out] ResetRequired Indicates whether reset is required or not.
|
||||
|
||||
@retval EFI_SUCESS Process Capsule Image successfully.
|
||||
@retval EFI_SUCCESS Process Capsule Image successfully.
|
||||
@retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
|
||||
@retval EFI_VOLUME_CORRUPTED FV volume in the capsule is corrupted.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough memory.
|
||||
|
|
@ -1496,7 +1496,7 @@ IsFmpCapsule (
|
|||
|
||||
@param[in] CapsuleHeader Points to a capsule header.
|
||||
|
||||
@retval EFI_SUCESS Input capsule is supported by firmware.
|
||||
@retval EFI_SUCCESS Input capsule is supported by firmware.
|
||||
@retval EFI_UNSUPPORTED Input capsule is not supported by the firmware.
|
||||
@retval EFI_INVALID_PARAMETER Input capsule layout is not correct
|
||||
**/
|
||||
|
|
@ -1547,7 +1547,7 @@ SupportCapsuleImage (
|
|||
@param[in] CapFileName Capsule file name.
|
||||
@param[out] ResetRequired Indicates whether reset is required or not.
|
||||
|
||||
@retval EFI_SUCESS Process Capsule Image successfully.
|
||||
@retval EFI_SUCCESS Process Capsule Image successfully.
|
||||
@retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
|
||||
@retval EFI_VOLUME_CORRUPTED FV volume in the capsule is corrupted.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough memory.
|
||||
|
|
@ -1610,7 +1610,7 @@ ProcessThisCapsuleImage (
|
|||
|
||||
@param[in] CapsuleHeader Points to a capsule header.
|
||||
|
||||
@retval EFI_SUCESS Process Capsule Image successfully.
|
||||
@retval EFI_SUCCESS Process Capsule Image successfully.
|
||||
@retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
|
||||
@retval EFI_VOLUME_CORRUPTED FV volume in the capsule is corrupted.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough memory.
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ IsFmpCapsule (
|
|||
@param[in] CapsuleHeader Points to a capsule header.
|
||||
@param[out] EmbeddedDriverCount The EmbeddedDriverCount in the FMP capsule.
|
||||
|
||||
@retval EFI_SUCESS Input capsule is a correct FMP capsule.
|
||||
@retval EFI_SUCCESS Input capsule is a correct FMP capsule.
|
||||
@retval EFI_INVALID_PARAMETER Input capsule is not a correct FMP capsule.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -139,7 +139,7 @@ UINT32 mCapsuleTotalNumber;
|
|||
@param[in] CapFileName Capsule file name.
|
||||
@param[out] ResetRequired Indicates whether reset is required or not.
|
||||
|
||||
@retval EFI_SUCESS Process Capsule Image successfully.
|
||||
@retval EFI_SUCCESS Process Capsule Image successfully.
|
||||
@retval EFI_UNSUPPORTED Capsule image is not supported by the firmware.
|
||||
@retval EFI_VOLUME_CORRUPTED FV volume in the capsule is corrupted.
|
||||
@retval EFI_OUT_OF_RESOURCES Not enough memory.
|
||||
|
|
@ -159,7 +159,7 @@ ProcessThisCapsuleImage (
|
|||
@param[in] Completion A value between 1 and 100 indicating the current
|
||||
completion progress of the firmware update
|
||||
|
||||
@retval EFI_SUCESS The capsule update progress was updated.
|
||||
@retval EFI_SUCCESS The capsule update progress was updated.
|
||||
@retval EFI_INVALID_PARAMETER Completion is greater than 100%.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
@param[in] Completion A value between 1 and 100 indicating the current
|
||||
completion progress of the firmware update
|
||||
|
||||
@retval EFI_SUCESS The capsule update progress was updated.
|
||||
@retval EFI_SUCCESS The capsule update progress was updated.
|
||||
@retval EFI_INVALID_PARAMETER Completion is greater than 100%.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ FileExplorerConstructor (
|
|||
after choose one file.
|
||||
@param File Return the device path for the last time chosed file.
|
||||
|
||||
@retval EFI_SUCESS Choose file success.
|
||||
@retval EFI_SUCCESS Choose file success.
|
||||
@retval EFI_INVALID_PARAMETER Both ChooseHandler and return device path are NULL
|
||||
One of them must not NULL.
|
||||
@retval Other errors Choose file failed.
|
||||
|
|
|
|||
|
|
@ -870,7 +870,7 @@ LibFindFileSystem (
|
|||
@param MenuEntry Input Menu info.
|
||||
@param RetFileHandle Return the file handle for the input device path.
|
||||
|
||||
@retval EFI_SUCESS Find the file handle success.
|
||||
@retval EFI_SUCCESS Find the file handle success.
|
||||
@retval Other Find the file handle failure.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -918,7 +918,7 @@ LibGetFileHandleFromMenu (
|
|||
@param ParentFileName Parent file name.
|
||||
@param DeviceHandle Driver handle for this partition.
|
||||
|
||||
@retval EFI_SUCESS Find the file handle success.
|
||||
@retval EFI_SUCCESS Find the file handle success.
|
||||
@retval Other Find the file handle failure.
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -1478,7 +1478,7 @@ LibGetDevicePath (
|
|||
after choose one file.
|
||||
@param File Return the device path for the last time chosed file.
|
||||
|
||||
@retval EFI_SUCESS Choose file success.
|
||||
@retval EFI_SUCCESS Choose file success.
|
||||
@retval EFI_INVALID_PARAMETER Both ChooseHandler and return device path are NULL
|
||||
One of them must not NULL.
|
||||
@retval Other errors Choose file failed.
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ PeiDebugAssert (
|
|||
@param FileHandle Handle of the file being invoked.
|
||||
@param PeiServices Describes the list of possible PEI Services.
|
||||
|
||||
@retval EFI_SUCESS The entry point of Debug Service PEIM executes successfully.
|
||||
@retval EFI_SUCCESS The entry point of Debug Service PEIM executes successfully.
|
||||
@retval Others Some error occurs during the execution of this function.
|
||||
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -2380,7 +2380,7 @@ FxConfirmPopup (
|
|||
@param Highlight Whether this menu will be highlight.
|
||||
@param UpdateCol Whether need to update the column info for Date/Time.
|
||||
|
||||
@retval EFI_SUCESSS Process the user selection success.
|
||||
@retval EFI_SUCCESS Process the user selection success.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -2627,7 +2627,7 @@ DisplayOneMenu (
|
|||
|
||||
@param FormData The current form data info.
|
||||
|
||||
@retval EFI_SUCESSS Process the user selection success.
|
||||
@retval EFI_SUCCESS Process the user selection success.
|
||||
@retval EFI_NOT_FOUND Process option string for orderedlist/Oneof fail.
|
||||
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -1746,7 +1746,7 @@ DriverCallback (
|
|||
@param ImageHandle Image handle this driver.
|
||||
@param SystemTable Pointer to SystemTable.
|
||||
|
||||
@retval EFI_SUCESS This function always complete successfully.
|
||||
@retval EFI_SUCCESS This function always complete successfully.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ HII_VENDOR_DEVICE_PATH mHiiVendorDevicePath = {
|
|||
@param[in] ImageHandle Image handle this driver.
|
||||
@param[in] SystemTable Pointer to SystemTable.
|
||||
|
||||
@retval EFI_SUCESS This function always complete successfully.
|
||||
@retval EFI_SUCCESS This function always complete successfully.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ ReportDispatcher (
|
|||
@param FileHandle Handle of the file being invoked.
|
||||
@param PeiServices Describes the list of possible PEI Services.
|
||||
|
||||
@retval EFI_SUCESS The entry point of DXE IPL PEIM executes successfully.
|
||||
@retval EFI_SUCCESS The entry point of DXE IPL PEIM executes successfully.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -1004,7 +1004,7 @@ UpdateStatementStatus (
|
|||
@param Action The user input action request info.
|
||||
@param DefaultId The user input default Id info.
|
||||
|
||||
@retval EFI_SUCESSS This function always return successfully for now.
|
||||
@retval EFI_SUCCESS This function always return successfully for now.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -1557,7 +1557,7 @@ ProcessQuestionConfig (
|
|||
|
||||
@param UserInput The user input data.
|
||||
|
||||
@retval EFI_SUCESSS This function always return successfully for now.
|
||||
@retval EFI_SUCCESS This function always return successfully for now.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
@ -1687,7 +1687,7 @@ ProcessUserInput (
|
|||
|
||||
Display form and wait for user to select one menu option, then return it.
|
||||
|
||||
@retval EFI_SUCESSS This function always return successfully for now.
|
||||
@retval EFI_SUCCESS This function always return successfully for now.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
@param FileHandle Handle of the file being invoked.
|
||||
@param PeiServices Describes the list of possible PEI Services.
|
||||
|
||||
@retval EFI_SUCESS The entry point of DXE IPL PEIM executes successfully.
|
||||
@retval EFI_SUCCESS The entry point of DXE IPL PEIM executes successfully.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue