From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 43C091A1E56 for ; Wed, 19 Oct 2016 00:03:58 -0700 (PDT) Received: from GaryWorkstation.apac.novell.com (ip-203-192-156-9.asianetcom.net [203.192.156.9]) by smtp.nue.novell.com with ESMTP (NOT encrypted); Wed, 19 Oct 2016 09:03:54 +0200 From: Gary Lin To: edk2-devel@lists.01.org Cc: David Wei Date: Wed, 19 Oct 2016 15:01:38 +0800 Message-Id: <20161019070138.16424-34-glin@suse.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161019070138.16424-1-glin@suse.com> References: <20161019070138.16424-1-glin@suse.com> Subject: [PATCH 33/33] Vlv2TbltDevicePkg: Fix typos in comments X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 07:03:59 -0000 - 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 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin --- 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