]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/Csm: Fix various typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:08:08 +0000 (02:08 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
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>

21 files changed:
OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c
OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h
OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h
OvmfPkg/Csm/CsmSupportLib/LegacyPlatform.c
OvmfPkg/Csm/Include/Framework/BootScript.h
OvmfPkg/Csm/Include/Framework/FrameworkInternalFormRepresentation.h
OvmfPkg/Csm/Include/Protocol/IsaIo.h
OvmfPkg/Csm/Include/Protocol/LegacyBios.h
OvmfPkg/Csm/Include/Protocol/LegacyBiosPlatform.h
OvmfPkg/Csm/Include/Protocol/VgaMiniPort.h
OvmfPkg/Csm/LegacyBiosDxe/LegacyBios.c
OvmfPkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h
OvmfPkg/Csm/LegacyBiosDxe/LegacyBootSupport.c
OvmfPkg/Csm/LegacyBiosDxe/LegacyPci.c
OvmfPkg/Csm/LegacyBiosDxe/Thunk.c
OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.c
OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUi.h
OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.inf
OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiLib.uni
OvmfPkg/Csm/LegacyBootMaintUiLib/LegacyBootMaintUiVfr.h
OvmfPkg/Csm/LegacyBootManagerLib/LegacyBm.c

index 0640656dba14fd78d712399928061482bc9113e5..0a189bc59205e4b594bb75532dc0e2cb3dc922cf 100644 (file)
@@ -381,7 +381,7 @@ BiosVideoDriverBindingStart (
         (FeaturePcdGet (PcdBiosVideoCheckVbeEnable) || FeaturePcdGet (PcdBiosVideoCheckVgaEnable))) {\r
       //\r
       // If RemainingDevicePath is the End of Device Path Node,\r
-      // don't create any child device and return EFI_SUCESS\r
+      // don't create any child device and return EFI_SUCCESS\r
       Status = EFI_SUCCESS;\r
       goto Done;\r
     }\r
@@ -3211,7 +3211,7 @@ BiosVideoVgaMiniPortSetMode (
 /**\r
   Event handler for Exit Boot Service.\r
 \r
-  @param  Event       The event that be siganlled when exiting boot service.\r
+  @param  Event       The event that be signalled when exiting boot service.\r
   @param  Context     Pointer to instance of BIOS_VIDEO_DEV.\r
 \r
 **/\r
index 951f4e6f768f6c5da086b885baf9b184e321e91f..d4fe15428bf0a5428ed3f448b58c06aa28611b1f 100644 (file)
@@ -241,7 +241,7 @@ BiosVideoCheckForVga (
 \r
 \r
 /**\r
-  Release resource for biso video instance.\r
+  Release resource for BIOS video instance.\r
 \r
   @param  BiosVideoPrivate       Video child device private data structure\r
 \r
@@ -347,9 +347,9 @@ BiosVideoGraphicsOutputVbeBlt (
 \r
 \r
 /**\r
-  Grahpics Output protocol instance to block transfer for VGA device.\r
+  Graphics Output protocol instance to block transfer for VGA device.\r
 \r
-  @param  This                   Pointer to Grahpics Output protocol instance\r
+  @param  This                   Pointer to Graphics Output protocol instance\r
   @param  BltBuffer              The data to transfer to screen\r
   @param  BltOperation           The operation to perform\r
   @param  SourceX                The X coordinate of the source for BltOperation\r
@@ -412,7 +412,7 @@ BiosVideoVgaMiniPortSetMode (
 /**\r
   Event handler for Exit Boot Service.\r
 \r
-  @param  Event       The event that be siganlled when exiting boot service.\r
+  @param  Event       The event that be signalled when exiting boot service.\r
   @param  Context     Pointer to instance of BIOS_VIDEO_DEV.\r
 \r
 **/\r
@@ -506,7 +506,7 @@ BiosVideoChildHandleUninstall (
   );\r
 \r
 /**\r
-  Release resource for biso video instance.\r
+  Release resource for BIOS video instance.\r
 \r
   @param  BiosVideoPrivate       Video child device private data structure\r
 \r
index dbf706179ff9fa98a79ef70d5d340b51c2098485..88065f15c645d12851bd182f1900f36fd8736bf6 100644 (file)
@@ -250,7 +250,7 @@ typedef struct {
 #define VESA_BIOS_EXTENSIONS_VERSION_3_0  0x0300\r
 \r
 //\r
-// Super VGA Information Block Capabilities field bit defintions\r
+// Super VGA Information Block Capabilities field bit definitions\r
 //\r
 #define VESA_BIOS_EXTENSIONS_CAPABILITY_8_BIT_DAC 0x01  // 0: DAC width is fixed at 6 bits/color\r
 // 1: DAC width switchable to 8 bits/color\r
@@ -358,7 +358,7 @@ typedef struct {
 } VESA_BIOS_EXTENSIONS_MODE_INFORMATION_BLOCK;\r
 \r
 //\r
-// Super VGA Mode Information Block ModeAttributes field bit defintions\r
+// Super VGA Mode Information Block ModeAttributes field bit definitions\r
 //\r
 #define VESA_BIOS_EXTENSIONS_MODE_ATTRIBUTE_HARDWARE  0x0001  // 0: Mode not supported in handware\r
 // 1: Mode supported in handware\r
@@ -396,7 +396,7 @@ typedef struct {
 #define VESA_BIOS_EXTENSIONS_MODE_ATTRIBUTE_DUAL_DISPLAY  0x1000  // 0: No dual display start address support\r
 // 1: Dual display start address support\r
 //\r
-// Super VGA Mode Information Block WinAAttribite/WinBAttributes field bit defintions\r
+// Super VGA Mode Information Block WinAAttribite/WinBAttributes field bit definitions\r
 //\r
 #define VESA_BIOS_EXTENSIONS_WINX_ATTRIBUTE_RELOCATABLE 0x01  // 0: Single non-relocatable window only\r
 // 1: Relocatable window(s) are supported\r
@@ -407,7 +407,7 @@ typedef struct {
 #define VESA_BIOS_EXTENSIONS_WINX_ATTRIBUTE_WRITABLE  0x04  // 0: Window is not writable\r
 // 1: Window is writable\r
 //\r
-// Super VGA Mode Information Block DirectColorMode field bit defintions\r
+// Super VGA Mode Information Block DirectColorMode field bit definitions\r
 //\r
 #define VESA_BIOS_EXTENSIONS_DIRECT_COLOR_MODE_PROG_COLOR_RAMP  0x01  // 0: Color ram is fixed\r
 // 1: Color ramp is programmable\r
index a07bb82da7f6736fcfc84a94c7306ec38bcecf11..9c60c4a4cfc43c8c8b437b21c2981e94ded8937b 100644 (file)
@@ -282,7 +282,7 @@ GetSelectedVgaDeviceInfo (
     Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiPciIoProtocolGuid, (VOID**)&PciIo);\r
     if (!EFI_ERROR (Status)) {\r
       //\r
-      // Detemine if this is in the correct bus range.\r
+      // Determine if this is in the correct bus range.\r
       //\r
       Status = PciIo->GetLocation (PciIo, &Segment, &Bus, &Device, &Function);\r
       if (EFI_ERROR(Status) || (Bus < MinBus || Bus > MaxBus)) {\r
@@ -501,7 +501,7 @@ GetPlatformHandle (
 \r
             //\r
             // Be sure to only fill out correct information based on platform\r
-            // configureation.\r
+            // configuration.\r
             //\r
             HddInfo[HddIndex].Status        |= HDD_PRIMARY;\r
             HddInfo[HddIndex].Bus           = (UINT32)Bus;\r
@@ -882,7 +882,7 @@ TranslatePirq (
         if (PirqData == 0) {\r
 \r
           //\r
-          // No unused interrpts, so start reusing them.\r
+          // No unused interrupts, so start reusing them.\r
           //\r
           MatchData = (UINT8) (~MatchData);\r
         }\r
index cb7220c1a7bd526a42fd6e73325573165c3bdcdb..a3518ea837cdce290eb7f7b124762463fa052b71 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  This file contains the boot script defintions that are shared between the\r
+  This file contains the boot script definitions that are shared between the\r
   Boot Script Executor PPI and the Boot Script Save Protocol.\r
 \r
 Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
index 04cbae1ef5aefc49eeaba82d38ac89b380f60d18..f10fc5231289057506392163ef8b672b79a6e803 100644 (file)
@@ -271,7 +271,7 @@ typedef struct {
 \r
 ///\r
 /// Inconsistent with specification here:\r
-/// The following defintion may not comply with Framework Specification HII 0.92. To\r
+/// The following definition may not comply with Framework Specification HII 0.92. To\r
 /// keep the inconsistant is for implementation needed.\r
 ///@{\r
 typedef struct {\r
index 30000305fb7d222ec444bbdd3603ed9d864296ac..8807e421feec73209d5a102fefb62a90356fa021 100644 (file)
@@ -145,7 +145,7 @@ typedef struct {
   @param[in] SrcOffset    The offset of the source in ISA MMIO space.\r
   @param[in] Count        The number tranfers to perform for this copy operation.\r
 \r
-  @retval EFI_SUCCESS             The data was copied sucessfully.\r
+  @retval EFI_SUCCESS             The data was copied successfully.\r
   @retval EFI_UNSUPPORTED         The DestOffset or SrcOffset is not valid for this device.\r
   @retval EFI_INVALID_PARAMETER   Width or Count, or both, were invalid.\r
   @retval EFI_OUT_OF_RESOURCES    The request could not be completed due to a lack of resources.\r
index 36761da39740271d833abacfa23e9a323bc9b94c..cd585a8d58f36cda788a3acbf07e2fe884f9ab40 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   The EFI Legacy BIOS Protocol is used to abstract legacy Option ROM usage\r
   under EFI and Legacy OS boot.  This file also includes all the related\r
-  COMPATIBILIY16 structures and defintions.\r
+  COMPATIBILIY16 structures and definitions.\r
 \r
   Note: The names for EFI_IA32_REGISTER_SET elements were picked to follow\r
   well known naming conventions.\r
@@ -213,7 +213,7 @@ typedef struct {
   /// value of the start of the PCI Express memory-mapped configuration registers and\r
   /// must be filled in prior to EfiCompatibility code issuing the Compatibility16 function\r
   /// Compatibility16InitializeYourself().\r
-  /// Compatibility16InitializeYourself() is defined in Compatability16\r
+  /// Compatibility16InitializeYourself() is defined in Compatibility16\r
   /// Functions.\r
   ///\r
   UINT32                            PciExpressBase;\r
@@ -251,7 +251,7 @@ typedef struct {
 \r
 ///\r
 /// Functions provided by the CSM binary which communicate between the EfiCompatibility\r
-/// and Compatability16 code.\r
+/// and Compatibility16 code.\r
 ///\r
 /// Inconsistent with the specification here:\r
 /// The member's name started with "Compatibility16" [defined in Intel Framework\r
index 0a164dad3bde9ca53f1d3d931d32f436857bc4af..607ef358f0b06da0f4e38480b7485aaf374ae702 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  The EFI Legacy BIOS Patform Protocol is used to mate a Legacy16\r
+  The EFI Legacy BIOS Platform Protocol is used to mate a Legacy16\r
   implementation with this EFI code. The EFI driver that produces\r
   the Legacy BIOS protocol is generic and consumes this protocol.\r
   A driver that matches the Legacy16 produces this protocol\r
@@ -383,7 +383,7 @@ typedef enum {
   ///\r
   ///     ShadowAddress First free OpROM area, after other OpROMs have been dispatched..\r
   ///\r
-  ///     Compatibility16Table Pointer to the Compatability16 Table.\r
+  ///     Compatibility16Table Pointer to the Compatibility16 Table.\r
   ///\r
   ///       AdditionalData NULL.\r
   ///\r
index 41ff58e14cfa7606b684e5989d1237999840c3db..5071c712ff9cf5b58f3bc15b2396ac4c62a0fe9e 100644 (file)
@@ -30,7 +30,7 @@ typedef struct _EFI_VGA_MINI_PORT_PROTOCOL  EFI_VGA_MINI_PORT_PROTOCOL;
   ModeNumber of 1 is a request for an 80x50 text mode.  If ModeNumber is greater\r
   than MaxModeNumber, then EFI_UNSUPPORTED is returned.  If the VGA controller\r
   is not functioning properly, then EFI_DEVICE_ERROR is returned.  If the VGA\r
-  controller is sucessfully set to the mode number specified by ModeNumber, then\r
+  controller is successfully set to the mode number specified by ModeNumber, then\r
   EFI_SUCCESS is returned.\r
 \r
   @param[in] This         A pointer to the EFI_VGA_MINI_PORT_PROTOCOL instance.\r
index 5e795bfe657074e5d727b07e30d4542e46c12fb1..dd3608a64ece3d1d985e579abc523a0170d9dc2f 100644 (file)
@@ -107,7 +107,7 @@ AllocateLegacyMemory (
   64 KB blocks.\r
 \r
   Note: inconsistency with the Framework CSM spec. Per the spec, this function may be\r
-  invoked only once. This limitation is relaxed to allow multiple calls in this implemenation.\r
+  invoked only once. This limitation is relaxed to allow multiple calls in this implementation.\r
 \r
   @param  This                       Protocol instance pointer.\r
   @param  LegacyMemorySize           Size of required region\r
@@ -319,7 +319,7 @@ ShadowAndStartLegacy16 (
   Private->LegacyBiosImageSize  = (UINT32) LegacyBiosImageSize;\r
 \r
   //\r
-  // Can only shadow into memory allocated for legacy useage.\r
+  // Can only shadow into memory allocated for legacy usage.\r
   //\r
   ASSERT (Private->BiosStart > Private->OptionRom);\r
 \r
@@ -983,7 +983,7 @@ LegacyBiosInstall (
          );\r
 \r
   //\r
-  // Allocate 0 - 4K for real mode interupt vectors and BDA.\r
+  // Allocate 0 - 4K for real mode interrupt vectors and BDA.\r
   //\r
   AllocateLegacyMemory (\r
     AllocateAddress,\r
index a72c8470f6e4d49fa98f77ba5c7898f8fb3938ed..88ec93d428bf233dfd7c9dcff9ca88dc3fc04d9e 100644 (file)
@@ -501,7 +501,7 @@ typedef struct {
   EFI_GENERIC_MEMORY_TEST_PROTOCOL  *GenericMemoryTest;\r
 \r
   //\r
-  // TRUE if PCI Interupt Line registers have been programmed.\r
+  // TRUE if PCI Interrupt Line registers have been programmed.\r
   //\r
   BOOLEAN                           PciInterruptLine;\r
 \r
@@ -706,7 +706,7 @@ LegacyBiosInt86 (
   the Stack argument\r
 \r
   @param  This                   Protocol instance pointer.\r
-  @param  Segment                Segemnt of 16-bit mode call\r
+  @param  Segment                Segment of 16-bit mode call\r
   @param  Offset                 Offset of 16-bit mdoe call\r
   @param  Regs                   Register contexted passed into (and returned) from\r
                                  thunk to  16-bit mode\r
@@ -1004,7 +1004,7 @@ InitLegacyIdeController (
 \r
 /**\r
   Program the interrupt routing register in all the PCI devices. On a PC AT system\r
-  this register contains the 8259 IRQ vector that matches it's PCI interrupt.\r
+  this register contains the 8259 IRQ vector that matches its PCI interrupt.\r
 \r
   @param  Private                Legacy  BIOS Instance data\r
 \r
@@ -1418,7 +1418,7 @@ RelocateImageUnder4GIfNeeded (
   the Stack argument\r
 \r
   @param  This       Protocol instance pointer.\r
-  @param  Segment    Segemnt of 16-bit mode call\r
+  @param  Segment    Segment of 16-bit mode call\r
   @param  Offset     Offset of 16-bit mdoe call\r
   @param  Regs       Register contexted passed into (and returned) from thunk to\r
                      16-bit mode\r
index cd4cd24f4246ff51b673e8b0fca92a3b408b544e..20784504d5016a5c2d56b2bc3f2727f1704bf961 100644 (file)
@@ -962,7 +962,7 @@ GenericLegacyBoot (
   }\r
 \r
   //\r
-  // We do not ASSERT if SmbiosTable not found. It is possbile that a platform does not produce SmbiosTable.\r
+  // We do not ASSERT if SmbiosTable not found. It is possible that a platform does not produce SmbiosTable.\r
   //\r
   if (mReserveSmbiosEntryPoint == 0) {\r
     DEBUG ((EFI_D_INFO, "Smbios table is not found!\n"));\r
@@ -982,7 +982,7 @@ GenericLegacyBoot (
                );\r
   }\r
   //\r
-  // We do not ASSERT if AcpiTable not found. It is possbile that a platform does not produce AcpiTable.\r
+  // We do not ASSERT if AcpiTable not found. It is possible that a platform does not produce AcpiTable.\r
   //\r
   if (AcpiTable == NULL) {\r
     DEBUG ((EFI_D_INFO, "ACPI table is not found!\n"));\r
index dc1f760876a6d212f35a776a46db70998466f188..2656dafde943c6ca368bdf8c8e37ccce359b2bd7 100644 (file)
@@ -678,7 +678,7 @@ TranslateBusPirq (
 \r
 \r
 Search busses starting from slot bus for final bus >= Secondary bus and\r
-final bus <= Suborninate bus. Assumption is bus entries increase in bus\r
+final bus <= Subordinate bus. Assumption is bus entries increase in bus\r
 number.\r
 Starting PIRQ is A,B,C,D.\r
 Bus 2, Device 7 satisfies search criteria. Rotate (A,B,C,D) left by device\r
@@ -914,7 +914,7 @@ InstallLegacyIrqHandler (
   Legacy8259      = Private->Legacy8259;\r
   //\r
   // Disable interrupt in PIC, in case shared, to prevent an\r
-  // interrupt from occuring.\r
+  // interrupt from occurring.\r
   //\r
   Legacy8259->GetMask (\r
                 Legacy8259,\r
@@ -1049,7 +1049,7 @@ InstallLegacyIrqHandler (
 \r
 /**\r
   Program the interrupt routing register in all the PCI devices. On a PC AT system\r
-  this register contains the 8259 IRQ vector that matches it's PCI interrupt.\r
+  this register contains the 8259 IRQ vector that matches its PCI interrupt.\r
 \r
   @param  Private                Legacy  BIOS Instance data\r
 \r
@@ -2582,7 +2582,7 @@ LegacyBiosInstallRom (
   // do not follow the standard of setting AX = 0 on success.\r
   //\r
   //\r
-  // The ROM could have updated it's size so we need to read again.\r
+  // The ROM could have updated its size so we need to read again.\r
   //\r
   if (((EFI_LEGACY_EXPANSION_ROM_HEADER *) RuntimeAddress)->Signature != PCI_EXPANSION_ROM_HEADER_SIGNATURE) {\r
     //\r
index a4985ede77a581d518ddcaaed654dbca46ca905f..6432030a23aca190de81c18e57df24b535700540 100644 (file)
@@ -127,8 +127,8 @@ LegacyBiosFarCall86 (
   Provide NULL interrupt handler which is used to check\r
   if there is more than one HW interrupt registers with the CPU AP.\r
 \r
-  @param  InterruptType - The type of interrupt that occured\r
-  @param  SystemContext - A pointer to the system context when the interrupt occured\r
+  @param  InterruptType - The type of interrupt that occurred\r
+  @param  SystemContext - A pointer to the system context when the interrupt occurred\r
 \r
 **/\r
 VOID\r
index af7d80eb5f04242c6bf1ec91673364060fe261d4..35470abf914add447a3c93cf6cfb99a65d23dcf9 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Legacy Boot Maintainence UI implementation.\r
+  Legacy Boot Maintenance UI implementation.\r
 \r
 Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
 (C) Copyright 2018 Hewlett Packard Enterprise Development LP<BR>\r
@@ -237,10 +237,10 @@ OrderLegacyBootOption4SameType (
 \r
 /**\r
   Update the legacy BBS boot option. L"LegacyDevOrder" and gEfiLegacyDevOrderVariableGuid EFI Variable\r
-  is udpated with the new Legacy Boot order. The EFI Variable of "Boot####" and gEfiGlobalVariableGuid\r
+  is updated with the new Legacy Boot order. The EFI Variable of "Boot####" and gEfiGlobalVariableGuid\r
   is also updated.\r
 \r
-  @param NVMapData   The data for egacy BBS boot.\r
+  @param NVMapData   The data for legacy BBS boot.\r
 \r
   @return EFI_SUCCESS           The function completed successfully.\r
   @retval EFI_NOT_FOUND         If L"LegacyDevOrder" and gEfiLegacyDevOrderVariableGuid EFI Variable can not be found.\r
@@ -725,7 +725,7 @@ CreateLegacyMenuStringToken (
   Create a dynamic page so that Legacy Device boot order\r
   can be set for specified device type.\r
 \r
-  @param UpdatePageId    The form ID. It also spefies the legacy device type.\r
+  @param UpdatePageId    The form ID. It also specifies the legacy device type.\r
 \r
 \r
 **/\r
@@ -1127,8 +1127,8 @@ LegacyBootOptionCallback (
     if (QuestionId == FORM_FLOPPY_BOOT_ID) {\r
       if (!mFirstEnterLegacyForm) {\r
         //\r
-        // The leagcyBootMaintUiLib depends on the LegacyBootManagerLib to realize its functionality.\r
-        // We need to do the leagcy boot options related actions after the LegacyBootManagerLib has been initialized.\r
+        // The legacyBootMaintUiLib depends on the LegacyBootManagerLib to realize its functionality.\r
+        // We need to do the legacy boot options related actions after the LegacyBootManagerLib has been initialized.\r
         // Opening the legacy menus is the appropriate time that the LegacyBootManagerLib has already been initialized.\r
         //\r
         mFirstEnterLegacyForm = TRUE;\r
@@ -1403,7 +1403,7 @@ GetLegacyOptions (
   @param ImageHandle     The image handle.\r
   @param SystemTable     The system table.\r
 \r
-  @retval  EFI_SUCEESS  Install Boot manager menu success.\r
+  @retval  EFI_SUCCESS  Install Boot manager menu success.\r
   @retval  Other        Return error status.\r
 \r
 **/\r
index 0c491318c2722b5d1daf0de6a50c05eab5ffe642..87290294df26e16f9957e80982dd13c6ab475c6b 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Legacy boot maintainence Ui definition.\r
+  Legacy boot maintenance Ui definition.\r
 \r
 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
@@ -61,7 +61,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 \r
 //\r
-// String Contant\r
+// String Constant\r
 //\r
 #define STR_FLOPPY          L"Floppy Drive #%02x"\r
 #define STR_HARDDISK        L"HardDisk Drive #%02x"\r
index 5cc64a1b2df2c9a3adab051304177ede96d3c3c3..9a790d34a0e440a36df8d3b22220a1085502205e 100644 (file)
@@ -1,5 +1,5 @@
 ## @file\r
-#  Legacy Boot Maintainence UI module is library for BDS phase.\r
+#  Legacy Boot Maintenance UI module is library for BDS phase.\r
 #\r
 #  Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>\r
 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r
index c2c100d378b3078ca78e8fae0bb3e7e65325deb7..f29e1449a7492b88b3ec355d0f798f0f2b406079 100644 (file)
@@ -1,7 +1,7 @@
 // /** @file\r
-// Legacy Boot Maintainence UI module is library for BDS phase.\r
+// Legacy Boot Maintenance UI module is library for BDS phase.\r
 //\r
-// Legacy Boot Maintainence UI module is library for BDS phase.\r
+// Legacy Boot Maintenance UI module is library for BDS phase.\r
 //\r
 // Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
 //\r
 \r
 #string STR_MODULE_ABSTRACT\r
 #language en-US\r
-"Legacy Boot Maintainence UI module is library for BDS phase."\r
+"Legacy Boot Maintenance UI module is library for BDS phase."\r
 \r
 #string STR_MODULE_DESCRIPTION\r
 #language en-US\r
-"Legacy Boot Maintainence UI module is library for BDS phase."\r
+"Legacy Boot Maintenance UI module is library for BDS phase."\r
 \r
 \r
index e16fc3941515762e4c9aac1bb2e4b42650946a56..13354865745d16c0790b8dd62e79b5de552b92ee 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Legacy Boot Maintainence UI definition.\r
+  Legacy Boot Maintenance UI definition.\r
 \r
 Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
index 6138a32ad78eb0ea66d2ae2154b123fcfc742daf..6ed45785be72237d2a933445df3c77cab4b108fd 100644 (file)
@@ -173,7 +173,7 @@ LegacyBmBuildLegacyDevNameString (
   StringDesc = (CHAR8 *) (((UINTN) CurBBSEntry->DescStringSegment << 4) + CurBBSEntry->DescStringOffset);\r
   if (NULL != StringDesc) {\r
     //\r
-    // Only get fisrt 32 characters, this is suggested by BBS spec\r
+    // Only get first 32 characters, this is suggested by BBS spec\r
     //\r
     CopyMem (StringBufferA, StringDesc, LEGACY_BM_BOOT_DESCRIPTION_LENGTH);\r
     StringBufferA[LEGACY_BM_BOOT_DESCRIPTION_LENGTH] = 0;\r
@@ -378,9 +378,9 @@ LegacyBmDeleteAllBootOptions (
 /**\r
   Delete all the invalid legacy boot options.\r
 \r
-  @retval EFI_SUCCESS             All invalide legacy boot options are deleted.\r
+  @retval EFI_SUCCESS             All invalid legacy boot options are deleted.\r
   @retval EFI_OUT_OF_RESOURCES    Fail to allocate necessary memory.\r
-  @retval EFI_NOT_FOUND           Fail to retrive variable of boot order.\r
+  @retval EFI_NOT_FOUND           Fail to retrieve variable of boot order.\r
 **/\r
 EFI_STATUS\r
 LegacyBmDeleteAllInvalidBootOptions (\r
@@ -499,7 +499,7 @@ LegacyBmDeleteAllInvalidBootOptions (
 /**\r
   Create legacy boot option.\r
 \r
-  @param BootOption        Ponter to the boot option which will be crated.\r
+  @param BootOption        Pointer to the boot option which will be crated.\r
   @param BbsEntry          The input bbs entry info.\r
   @param BbsIndex          The BBS index.\r
 \r
@@ -615,10 +615,10 @@ LegacyBmFillDevOrderBuf (
   @param BbsTable        The BBS table.\r
   @param BbsCount        The BBS Count.\r
 \r
-  @retval EFI_SUCCES             The buffer is created and the EFI variable named\r
+  @retval EFI_SUCCESS            The buffer is created and the EFI variable named\r
                                  VAR_LEGACY_DEV_ORDER and EfiLegacyDevOrderGuid is\r
                                  set correctly.\r
-  @retval EFI_OUT_OF_RESOURCES   Memmory or storage is not enough.\r
+  @retval EFI_OUT_OF_RESOURCES   Memory or storage is not enough.\r
   @retval EFI_DEVICE_ERROR       Fail to add the device order into EFI variable fail\r
                                  because of hardware error.\r
 **/\r
@@ -742,7 +742,7 @@ LegacyBmCreateDevOrder (
 \r
   @retval EFI_SUCCESS           The boot devices are added successfully.\r
   @retval EFI_NOT_FOUND         The legacy boot devices are not found.\r
-  @retval EFI_OUT_OF_RESOURCES  Memmory or storage is not enough.\r
+  @retval EFI_OUT_OF_RESOURCES  Memory or storage is not enough.\r
   @retval EFI_DEVICE_ERROR      Fail to add the legacy device boot order into EFI variable\r
                                 because of hardware error.\r
 **/\r
@@ -1042,7 +1042,7 @@ LegacyBmUpdateDevOrder (
   @param DeviceType      The device type.\r
   @param BbsIndex        The BBS index to set the highest priority. Ignore when -1.\r
   @param LocalBbsTable   The BBS table.\r
-  @param Priority        The prority table.\r
+  @param Priority        The priority table.\r
 \r
   @retval EFI_SUCCESS           The function completes successfully.\r
   @retval EFI_NOT_FOUND         Failed to find device.\r
@@ -1494,7 +1494,7 @@ LegacyBmRefreshAllBootOption (
   //\r
   // Same algorithm pattern as the EfiBootManagerRefreshAllBootOption\r
   // Firstly delete the invalid legacy boot options,\r
-  // then enumreate and save the newly appeared legacy boot options\r
+  // then enumerate and save the newly appeared legacy boot options\r
   // the last step is legacy boot option special action to refresh the LegacyDevOrder variable\r
   //\r
   LegacyBmDeleteAllInvalidBootOptions ();\r