OvmfPkg/Csm: Fix various typos

Fix various typos in documentation, comments and strings.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-56-philmd@redhat.com>
This commit is contained in:
Antoine Coeur
2020-02-07 02:08:08 +01:00
committed by mergify[bot]
parent f221466ea7
commit 48cf40b8c9
21 changed files with 62 additions and 62 deletions

View File

@@ -173,7 +173,7 @@ LegacyBmBuildLegacyDevNameString (
StringDesc = (CHAR8 *) (((UINTN) CurBBSEntry->DescStringSegment << 4) + CurBBSEntry->DescStringOffset);
if (NULL != StringDesc) {
//
// Only get fisrt 32 characters, this is suggested by BBS spec
// Only get first 32 characters, this is suggested by BBS spec
//
CopyMem (StringBufferA, StringDesc, LEGACY_BM_BOOT_DESCRIPTION_LENGTH);
StringBufferA[LEGACY_BM_BOOT_DESCRIPTION_LENGTH] = 0;
@@ -378,9 +378,9 @@ LegacyBmDeleteAllBootOptions (
/**
Delete all the invalid legacy boot options.
@retval EFI_SUCCESS All invalide legacy boot options are deleted.
@retval EFI_SUCCESS All invalid legacy boot options are deleted.
@retval EFI_OUT_OF_RESOURCES Fail to allocate necessary memory.
@retval EFI_NOT_FOUND Fail to retrive variable of boot order.
@retval EFI_NOT_FOUND Fail to retrieve variable of boot order.
**/
EFI_STATUS
LegacyBmDeleteAllInvalidBootOptions (
@@ -499,7 +499,7 @@ LegacyBmDeleteAllInvalidBootOptions (
/**
Create legacy boot option.
@param BootOption Ponter to the boot option which will be crated.
@param BootOption Pointer to the boot option which will be crated.
@param BbsEntry The input bbs entry info.
@param BbsIndex The BBS index.
@@ -615,10 +615,10 @@ LegacyBmFillDevOrderBuf (
@param BbsTable The BBS table.
@param BbsCount The BBS Count.
@retval EFI_SUCCES The buffer is created and the EFI variable named
@retval EFI_SUCCESS The buffer is created and the EFI variable named
VAR_LEGACY_DEV_ORDER and EfiLegacyDevOrderGuid is
set correctly.
@retval EFI_OUT_OF_RESOURCES Memmory or storage is not enough.
@retval EFI_OUT_OF_RESOURCES Memory or storage is not enough.
@retval EFI_DEVICE_ERROR Fail to add the device order into EFI variable fail
because of hardware error.
**/
@@ -742,7 +742,7 @@ LegacyBmCreateDevOrder (
@retval EFI_SUCCESS The boot devices are added successfully.
@retval EFI_NOT_FOUND The legacy boot devices are not found.
@retval EFI_OUT_OF_RESOURCES Memmory or storage is not enough.
@retval EFI_OUT_OF_RESOURCES Memory or storage is not enough.
@retval EFI_DEVICE_ERROR Fail to add the legacy device boot order into EFI variable
because of hardware error.
**/
@@ -1042,7 +1042,7 @@ LegacyBmUpdateDevOrder (
@param DeviceType The device type.
@param BbsIndex The BBS index to set the highest priority. Ignore when -1.
@param LocalBbsTable The BBS table.
@param Priority The prority table.
@param Priority The priority table.
@retval EFI_SUCCESS The function completes successfully.
@retval EFI_NOT_FOUND Failed to find device.
@@ -1494,7 +1494,7 @@ LegacyBmRefreshAllBootOption (
//
// Same algorithm pattern as the EfiBootManagerRefreshAllBootOption
// Firstly delete the invalid legacy boot options,
// then enumreate and save the newly appeared legacy boot options
// then enumerate and save the newly appeared legacy boot options
// the last step is legacy boot option special action to refresh the LegacyDevOrder variable
//
LegacyBmDeleteAllInvalidBootOptions ();