]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Vlv2TbltDevicePkg: Fix typos in comments
authorGary Lin <glin@suse.com>
Wed, 19 Oct 2016 07:01:38 +0000 (15:01 +0800)
committerdavid wei <david.wei@intel.com>
Thu, 27 Oct 2016 06:31:55 +0000 (14:31 +0800)
- 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>
Vlv2TbltDevicePkg/BootScriptSaveDxe/ScriptSave.c
Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/SecTempRamSupport.c
Vlv2TbltDevicePkg/Include/Library/CpuIA32.h
Vlv2TbltDevicePkg/Include/Protocol/GlobalNvsArea.h
Vlv2TbltDevicePkg/Library/PlatformBdsLib/BdsPlatform.c
Vlv2TbltDevicePkg/PlatformDxe/PciBus.h
Vlv2TbltDevicePkg/PlatformGopPolicy/PlatformGopPolicy.c
Vlv2TbltDevicePkg/PlatformInitPei/PlatformInfoInit.c
Vlv2TbltDevicePkg/PlatformSetupDxe/PlatformSetupDxe.c

index 55f758c5735305ce0a745c2f95d7fc28728da34d..af7b9680b6437b92b825b809091930270951e80e 100644 (file)
@@ -251,7 +251,7 @@ BootScriptPciCfg2ReadWrite (
 }\r
 \r
 /**\r
-  Internal function to add smbus excute opcode to the table.\r
+  Internal function to add smbus execute opcode to the table.\r
 \r
   @param  Marker                The variable argument list to get the opcode\r
                                 and associated attributes.\r
index e505d719c29e9143a71769bdaa43a717504fdcd5..72488f8087af5f60af1b950d0ac6b29ff8404ba6 100644 (file)
@@ -140,8 +140,8 @@ SecTemporaryRamSupport (
 \r
   //\r
   // SecSwitchStack function must be invoked after the memory migration\r
-  // immediatly, also we need fixup the stack change caused by new call into\r
-  // permenent memory.\r
+  // immediately, also we need fixup the stack change caused by new call into\r
+  // permanent memory.\r
   //\r
   SecSwitchStack (\r
     (UINT32) (UINTN) OldStack,\r
index b8c53c94b339862718b18c7a5a5d8f883bce4d85..761578106c0912963f09c86b32d44ac323b003a6 100644 (file)
@@ -180,7 +180,7 @@ EfiInvd (
   );\r
 \r
 /**\r
-  Get the Cpu info by excute the CPUID instruction\r
+  Get the Cpu info by execute the CPUID instruction\r
 \r
   @param[in] RegisterInEax The input value to put into register EAX\r
   @param[in] Regs          The Output value\r
index 8f9948c2f803fc66cc67841698d3f5887b3a595d..e4cbd4a59aa0767b0756842a92d914dea18fd492 100644 (file)
@@ -216,7 +216,7 @@ typedef struct {
   UINT8       TpmEnable;              // 121 TPM Enable\r
 \r
   UINT8       MorData;                // 122 Memory Overwrite Request Data\r
-  UINT8       TcgParamter;            // 123 Used for save the Mor and/or physical presence paramter\r
+  UINT8       TcgParamter;            // 123 Used for save the Mor and/or physical presence parameter\r
   UINT32      PPResponse;             // 124 Physical Presence request operation response\r
   UINT8       PPRequest;              // 128 Physical Presence request operation\r
   UINT8       LastPPRequest;          // 129 Last Physical Presence request operation\r
index 580d774d293f5d2981b8373e65f3eb6516c278af..7dd289ece8dceaad13cbbfa6fccf93710a052fec 100644 (file)
@@ -217,7 +217,7 @@ ShellImageCallback (
 // BDS Platform Functions\r
 //\r
 /**\r
-  Platform Bds init. Incude the platform firmware vendor, revision\r
+  Platform Bds init. Include the platform firmware vendor, revision\r
   and so crc check.\r
 \r
   @param VOID\r
@@ -313,7 +313,7 @@ GetGopDevicePath (
   }\r
 \r
   //\r
-  // Try to connect this handle, so that GOP dirver could start on this\r
+  // Try to connect this handle, so that GOP driver could start on this\r
   // device and create child handles with GraphicsOutput Protocol installed\r
   // on them, then we get device paths of these child handles and select\r
   // them as possible console device.\r
@@ -430,7 +430,7 @@ GetGopDevicePath (
         // In current implementation, we only enable one of the child handles\r
         // as console device, i.e. sotre one of the child handle's device\r
         // path to variable "ConOut"\r
-        // In futhure, we could select all child handles to be console device\r
+        // In future, we could select all child handles to be console device\r
         //\r
         *GopDevicePath = TempDevicePath;\r
       }\r
@@ -783,7 +783,7 @@ UpdateConsoleResolution(
   Connect the predefined platform default console device. Always try to find\r
   and enable the vga device if have.\r
 \r
-  @param PlatformConsole    Predfined platform default console device array.\r
+  @param PlatformConsole    Predefined platform default console device array.\r
 \r
   @retval EFI_SUCCESS       Success connect at least one ConIn and ConOut\r
                             device, there must have one ConOut device is\r
@@ -822,7 +822,7 @@ PlatformBdsConnectConsole (
   if (VarConout == NULL || VarConin == NULL) {\r
     //\r
     // Have chance to connect the platform default console,\r
-    // the platform default console is the minimue device group\r
+    // the platform default console is the minimum device group\r
     // the platform should support\r
     //\r
     while (PlatformConsole[Index].DevicePath != NULL) {\r
@@ -869,7 +869,7 @@ PlatformBdsConnectConsole (
 }\r
 \r
 /**\r
-  Connect with predeined platform connect sequence,\r
+  Connect with predefined platform connect sequence,\r
   the OEM/IBV can customize with their own connect sequence.\r
 \r
   @param None.\r
@@ -1571,7 +1571,7 @@ PlatformBdsLibEnumerateAllBootOption (
 \r
 /**\r
 \r
-  The function will excute with as the platform policy, current policy\r
+  The function will execute with as the platform policy, current policy\r
   is driven by boot mode. IBV/OEM can customize this code for their specific\r
   policy action.\r
 \r
@@ -2838,7 +2838,7 @@ PlatformBdsConnectSimpleConsole (
   if (VarConout == NULL || VarConin == NULL) {\r
     //\r
     // Have chance to connect the platform default console,\r
-    // the platform default console is the minimue device group\r
+    // the platform default console is the minimum device group\r
     // the platform should support\r
     //\r
     while (PlatformConsole[Index].DevicePath != NULL) {\r
index 89e31d265a1c7a2f7d7bde824c348018df8e0d1d..412e9f180d8d54d6dc676adb860a46668f0536ee 100644 (file)
@@ -187,7 +187,7 @@ struct _PCI_IO_DEVICE {
   LIST_ENTRY                                ChildList;\r
 \r
   //\r
-  // TURE if the PCI bus driver creates the handle for this PCI device\r
+  // TRUE if the PCI bus driver creates the handle for this PCI device\r
   //\r
   BOOLEAN                                   Registered;\r
 \r
@@ -266,7 +266,7 @@ struct _PCI_IO_DEVICE {
 \r
   //\r
   // Per PCI to PCI Bridge spec, I/O window is 4K aligned,\r
-  // but some chipsets support non-stardard I/O window aligments less than 4K.\r
+  // but some chipsets support non-standard I/O window alignments less than 4K.\r
   // This field is used to support this case.\r
   //\r
   UINT16                                    BridgeIoAlignment;\r
@@ -308,8 +308,8 @@ extern BOOLEAN                                      mReserveVgaAliases;
 \r
   @param  _p      Specified device.\r
 \r
-  @retval TRUE    Device is a GFX device.\r
-  @retval FALSE   Device is not a GFX device.\r
+  @retval TRUE    Device is a GFX device.\r
+  @retval FALSE   Device is not a GFX device.\r
 \r
 **/\r
 #define IS_PCI_GFX(_p)     IS_CLASS2 (_p, PCI_CLASS_DISPLAY, PCI_CLASS_DISPLAY_OTHER)\r
@@ -320,7 +320,7 @@ extern BOOLEAN                                      mReserveVgaAliases;
 \r
   @param  This                Protocol instance pointer.\r
   @param  Controller          Handle of device to test.\r
-  @param  RemainingDevicePath Optional parameter use to pick a specific child.\r
+  @param  RemainingDevicePath Optional parameter use to pick a specific child\r
                               device to start.\r
 \r
   @retval EFI_SUCCESS         This driver supports this device.\r
@@ -342,7 +342,7 @@ PciBusDriverBindingSupported (
 \r
   @param  This                 Protocol instance pointer.\r
   @param  Controller           Handle of device to bind driver to.\r
-  @param  RemainingDevicePath  Optional parameter use to pick a specific child.\r
+  @param  RemainingDevicePath  Optional parameter use to pick a specific child\r
                                device to start.\r
 \r
   @retval EFI_SUCCESS          This driver is added to ControllerHandle.\r
@@ -359,7 +359,7 @@ PciBusDriverBindingStart (
   );\r
 \r
 /**\r
-  Stop this driver on ControllerHandle. Support stoping any child handles\r
+  Stop this driver on ControllerHandle. Support stopping any child handles\r
   created by this driver.\r
 \r
   @param  This              Protocol instance pointer.\r
index 3ad6b57232ef46b0a6bcad81ffe7eb785299a597..035f7b520f48655dead2fed45f6bdcfb0134cefc 100644 (file)
@@ -33,7 +33,7 @@ PLATFORM_GOP_POLICY_PROTOCOL  mPlatformGOPPolicy;
 //\r
 \r
 /**\r
-  The function will excute with as the platform policy, and gives\r
+  The function will execute with as the platform policy, and gives\r
   the Platform Lid Status. IBV/OEM can customize this code for their specific\r
   policy action.\r
 \r
@@ -54,7 +54,7 @@ GetPlatformLidStatus (
 }\r
 \r
 /**\r
-  The function will excute and gives the Video Bios Table Size and Address.\r
+  The function will execute and gives the Video Bios Table Size and Address.\r
 \r
   @param VbtAddress  Gives the Physical Address of Video BIOS Table\r
 \r
index 48d69a3a59c7b7fac77f1c38ddc2c79d9c9100ca..f6bb8262bbd49aaba36ea7150f0161996062f3b4 100644 (file)
@@ -79,7 +79,7 @@ CheckOsSelection (
       SystemConfiguration->ReservedO   = OsSelectionHob->OsSelection;\r
 \r
       //\r
-      // Load LPSS and SCC defalut configurations\r
+      // Load LPSS and SCC default configurations\r
       //\r
       OsSelectionHob->LpssData.LpsseMMCEnabled            = FALSE;\r
       OsSelectionHob->LpssData.LpssSdioEnabled            = TRUE;\r
index de7830ffe878c957c0bf1df62613942ada2c6124..47ede35892dcfa45c7faace6a8aa4b87b9b6f9e7 100644 (file)
@@ -126,7 +126,7 @@ LoadLpssDefaultValues (
   )\r
 {\r
   //\r
-  // Load LPSS and SCC defalut configurations for Android\r
+  // Load LPSS and SCC default configurations for Android\r
   //\r
   Private->FakeNvData.LpsseMMCEnabled            = FALSE;\r
   Private->FakeNvData.LpssSdioEnabled            = TRUE;\r
@@ -780,7 +780,7 @@ SystemConfigCallback (
 \r
 \r
 /**\r
-  The driver Entry Point. The funciton will export a disk device class formset and\r
+  The driver Entry Point. The function will export a disk device class formset and\r
   its callback function to hii database.\r
 \r
   @param  ImageHandle    The firmware allocated handle for the EFI image.\r