Reviewed-by: David Wei <[email protected]>

Thanks,
David  Wei                                 

-----Original Message-----
From: Gary Lin [mailto:[email protected]] 
Sent: Wednesday, October 19, 2016 3:02 PM
To: [email protected]
Cc: Wei, David <[email protected]>
Subject: [PATCH 33/33] 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 <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <[email protected]>
---
 Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c                               
   |  2 +-
 
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
 |  4 ++--
 Vlv2TbltDevicePkg/Include/Library/CpuIA32.h                                    
   |  2 +-
 Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h                             
   |  2 +-
 Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c                         
   | 16 ++++++++--------
 Vlv2TbltDevicePkg/PlatformDxe/PciBus.h                                         
   | 14 +++++++-------
 Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c                        
   |  4 ++--
 Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c                           
   |  2 +-
 Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c                          
   |  4 ++--
 9 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c 
b/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
index 55f758c..af7b968 100644
--- a/Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
+++ b/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.
diff --git 
a/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
 
b/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
index e505d71..72488f8 100644
--- 
a/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
+++ 
b/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,
diff --git a/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h 
b/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
index b8c53c9..7615781 100644
--- a/Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
+++ b/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
diff --git a/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h 
b/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
index 8f9948c..e4cbd4a 100644
--- a/Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
+++ b/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
diff --git a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c 
b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
index e1f3524..135ed21 100644
--- a/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
+++ b/Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
@@ -214,7 +214,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
@@ -310,7 +310,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.
@@ -427,7 +427,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;
       }
@@ -780,7 +780,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
@@ -819,7 +819,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) {
@@ -866,7 +866,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.
@@ -1568,7 +1568,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.
 
@@ -2839,7 +2839,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) {
diff --git a/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h 
b/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
index 89e31d2..412e9f1 100644
--- a/Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
+++ b/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.
diff --git a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c 
b/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
index 3ad6b57..035f7b5 100644
--- a/Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
+++ b/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
 
diff --git a/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c 
b/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
index 48d69a3..f6bb826 100644
--- a/Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
+++ b/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;
diff --git a/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c 
b/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c
index de7830f..47ede35 100644
--- a/Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c
+++ b/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.
-- 
2.10.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to