Переглянути джерело

Vlv2TbltDevicePkg: Fix typos in comments

- TURE -> TRUE
- stardard -> standard
- aligments -> alignments
- a a -> a
- stoping -> stopping
- defalut -> default
- excute -> execute
- Incude -> Include
- futhure -> future
- Predfined -> Predefined
- minimue -> minimum
- predeined -> predefined
- dirver -> driver
- paramter -> parameter
- funciton -> function
- immediatly -> immediately

Cc: David Wei <david.wei@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Gary Lin 7 роки тому
батько
коміт
2e182e30e5

+ 1 - 1
Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c

@@ -251,7 +251,7 @@ BootScriptPciCfg2ReadWrite (
 }
 
 /**
-  Internal function to add smbus excute opcode to the table.
+  Internal function to add smbus execute opcode to the table.
 
   @param  Marker                The variable argument list to get the opcode
                                 and associated attributes.

+ 2 - 2
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c

@@ -140,8 +140,8 @@ SecTemporaryRamSupport (
 
   //
   // SecSwitchStack function must be invoked after the memory migration
-  // immediatly, also we need fixup the stack change caused by new call into
-  // permenent memory.
+  // immediately, also we need fixup the stack change caused by new call into
+  // permanent memory.
   //
   SecSwitchStack (
     (UINT32) (UINTN) OldStack,

+ 1 - 1
Vlv2TbltDevicePkg/Include/Library/CpuIA32.h

@@ -180,7 +180,7 @@ EfiInvd (
   );
 
 /**
-  Get the Cpu info by excute the CPUID instruction
+  Get the Cpu info by execute the CPUID instruction
 
   @param[in] RegisterInEax The input value to put into register EAX
   @param[in] Regs          The Output value

+ 1 - 1
Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h

@@ -216,7 +216,7 @@ typedef struct {
   UINT8       TpmEnable;              // 121 TPM Enable
 
   UINT8       MorData;                // 122 Memory Overwrite Request Data
-  UINT8       TcgParamter;            // 123 Used for save the Mor and/or physical presence paramter
+  UINT8       TcgParamter;            // 123 Used for save the Mor and/or physical presence parameter
   UINT32      PPResponse;             // 124 Physical Presence request operation response
   UINT8       PPRequest;              // 128 Physical Presence request operation
   UINT8       LastPPRequest;          // 129 Last Physical Presence request operation

+ 8 - 8
Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c

@@ -217,7 +217,7 @@ ShellImageCallback (
 // BDS Platform Functions
 //
 /**
-  Platform Bds init. Incude the platform firmware vendor, revision
+  Platform Bds init. Include the platform firmware vendor, revision
   and so crc check.
 
   @param VOID
@@ -313,7 +313,7 @@ GetGopDevicePath (
   }
 
   //
-  // Try to connect this handle, so that GOP dirver could start on this
+  // Try to connect this handle, so that GOP driver could start on this
   // device and create child handles with GraphicsOutput Protocol installed
   // on them, then we get device paths of these child handles and select
   // them as possible console device.
@@ -430,7 +430,7 @@ GetGopDevicePath (
         // In current implementation, we only enable one of the child handles
         // as console device, i.e. sotre one of the child handle's device
         // path to variable "ConOut"
-        // In futhure, we could select all child handles to be console device
+        // In future, we could select all child handles to be console device
         //
         *GopDevicePath = TempDevicePath;
       }
@@ -783,7 +783,7 @@ UpdateConsoleResolution(
   Connect the predefined platform default console device. Always try to find
   and enable the vga device if have.
 
-  @param PlatformConsole    Predfined platform default console device array.
+  @param PlatformConsole    Predefined platform default console device array.
 
   @retval EFI_SUCCESS       Success connect at least one ConIn and ConOut
                             device, there must have one ConOut device is
@@ -822,7 +822,7 @@ PlatformBdsConnectConsole (
   if (VarConout == NULL || VarConin == NULL) {
     //
     // Have chance to connect the platform default console,
-    // the platform default console is the minimue device group
+    // the platform default console is the minimum device group
     // the platform should support
     //
     while (PlatformConsole[Index].DevicePath != NULL) {
@@ -869,7 +869,7 @@ PlatformBdsConnectConsole (
 }
 
 /**
-  Connect with predeined platform connect sequence,
+  Connect with predefined platform connect sequence,
   the OEM/IBV can customize with their own connect sequence.
 
   @param None.
@@ -1571,7 +1571,7 @@ PlatformBdsLibEnumerateAllBootOption (
 
 /**
 
-  The function will excute with as the platform policy, current policy
+  The function will execute with as the platform policy, current policy
   is driven by boot mode. IBV/OEM can customize this code for their specific
   policy action.
 
@@ -2838,7 +2838,7 @@ PlatformBdsConnectSimpleConsole (
   if (VarConout == NULL || VarConin == NULL) {
     //
     // Have chance to connect the platform default console,
-    // the platform default console is the minimue device group
+    // the platform default console is the minimum device group
     // the platform should support
     //
     while (PlatformConsole[Index].DevicePath != NULL) {

+ 7 - 7
Vlv2TbltDevicePkg/PlatformDxe/PciBus.h

@@ -187,7 +187,7 @@ struct _PCI_IO_DEVICE {
   LIST_ENTRY                                ChildList;
 
   //
-  // TURE if the PCI bus driver creates the handle for this PCI device
+  // TRUE if the PCI bus driver creates the handle for this PCI device
   //
   BOOLEAN                                   Registered;
 
@@ -266,7 +266,7 @@ struct _PCI_IO_DEVICE {
 
   //
   // Per PCI to PCI Bridge spec, I/O window is 4K aligned,
-  // but some chipsets support non-stardard I/O window aligments less than 4K.
+  // but some chipsets support non-standard I/O window alignments less than 4K.
   // This field is used to support this case.
   //
   UINT16                                    BridgeIoAlignment;
@@ -308,8 +308,8 @@ extern BOOLEAN                                      mReserveVgaAliases;
 
   @param  _p      Specified device.
 
-  @retval TRUE    Device is a a GFX device.
-  @retval FALSE   Device is not a a GFX device.
+  @retval TRUE    Device is a GFX device.
+  @retval FALSE   Device is not a GFX device.
 
 **/
 #define IS_PCI_GFX(_p)     IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)
@@ -320,7 +320,7 @@ extern BOOLEAN                                      mReserveVgaAliases;
 
   @param  This                Protocol instance pointer.
   @param  Controller          Handle of device to test.
-  @param  RemainingDevicePath Optional parameter use to pick a specific child.
+  @param  RemainingDevicePath Optional parameter use to pick a specific child
                               device to start.
 
   @retval EFI_SUCCESS         This driver supports this device.
@@ -342,7 +342,7 @@ PciBusDriverBindingSupported (
 
   @param  This                 Protocol instance pointer.
   @param  Controller           Handle of device to bind driver to.
-  @param  RemainingDevicePath  Optional parameter use to pick a specific child.
+  @param  RemainingDevicePath  Optional parameter use to pick a specific child
                                device to start.
 
   @retval EFI_SUCCESS          This driver is added to ControllerHandle.
@@ -359,7 +359,7 @@ PciBusDriverBindingStart (
   );
 
 /**
-  Stop this driver on ControllerHandle. Support stoping any child handles
+  Stop this driver on ControllerHandle. Support stopping any child handles
   created by this driver.
 
   @param  This              Protocol instance pointer.

+ 2 - 2
Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c

@@ -33,7 +33,7 @@ PLATFORM_GOP_POLICY_PROTOCOL  mPlatformGOPPolicy;
 //
 
 /**
-  The function will excute with as the platform policy, and gives
+  The function will execute with as the platform policy, and gives
   the Platform Lid Status. IBV/OEM can customize this code for their specific
   policy action.
 
@@ -54,7 +54,7 @@ GetPlatformLidStatus (
 }
 
 /**
-  The function will excute and gives the Video Bios Table Size and Address.
+  The function will execute and gives the Video Bios Table Size and Address.
 
   @param VbtAddress  Gives the Physical Address of Video BIOS Table
 

+ 1 - 1
Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c

@@ -79,7 +79,7 @@ CheckOsSelection (
       SystemConfiguration->ReservedO   = OsSelectionHob->OsSelection;
 
       //
-      // Load LPSS and SCC defalut configurations
+      // Load LPSS and SCC default configurations
       //
       OsSelectionHob->LpssData.LpsseMMCEnabled            = FALSE;
       OsSelectionHob->LpssData.LpssSdioEnabled            = TRUE;

+ 2 - 2
Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c

@@ -126,7 +126,7 @@ LoadLpssDefaultValues (
   )
 {
   //
-  // Load LPSS and SCC defalut configurations for Android
+  // Load LPSS and SCC default configurations for Android
   //
   Private->FakeNvData.LpsseMMCEnabled            = FALSE;
   Private->FakeNvData.LpssSdioEnabled            = TRUE;
@@ -780,7 +780,7 @@ SystemConfigCallback (
 
 
 /**
-  The driver Entry Point. The funciton will export a disk device class formset and
+  The driver Entry Point. The function will export a disk device class formset and
   its callback function to hii database.
 
   @param  ImageHandle    The firmware allocated handle for the EFI image.