From 65aec00829912662cbfe842ab747d7608fc90553 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Wed, 19 Oct 2016 00:01:32 -0700 Subject: QuarkPlatformPkg: Fix typos in comments - TURE -> TRUE - reseting -> resetting - retore -> restore - boundry -> boundary - tempory -> temporary Cc: Michael D Kinney Cc: Kelly Steele Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin Reviewed-by: Michael D Kinney --- QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c | 6 +++--- QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c | 4 ++-- QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c | 4 ++-- QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c b/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c index 96af046..28d7016 100644 --- a/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c +++ b/QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUpdate.c @@ -87,7 +87,7 @@ SdtGetInteger ( @param OpCode Expected OpCode @param SubOpCode Expected SubOpCode - @retval TURE This handle has expected opcode + @retval TRUE This handle has expected opcode @retval FALSE This handle does not have expected opcode **/ BOOLEAN @@ -127,7 +127,7 @@ SdtIsThisTypeObject ( @param Name Expected name @param Value Expected name value - @retval TURE This handle has expected name and name value. + @retval TRUE This handle has expected name and name value. @retval FALSE This handle does not have expected name and name value. **/ BOOLEAN @@ -176,7 +176,7 @@ SdtIsNameIntegerValueEqual ( @param Name Expected name @param Value Expected name value - @retval TURE This handle's children has expected name and name value. + @retval TRUE This handle's children has expected name and name value. @retval FALSE This handle's children does not have expected name and name value. **/ BOOLEAN diff --git a/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c b/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c index a1a18c9..9b785bb 100644 --- a/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c +++ b/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/ScriptExecute.c @@ -4,7 +4,7 @@ This is the code for Boot Script Executer module. This driver is dispatched by Dxe core and the driver will reload itself to ACPI NVS memory in the entry point. The functionality is to interpret and restore the S3 boot script -Copyright (c) 2013-2015 Intel Corporation. +Copyright (c) 2013-2016 Intel Corporation. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -225,7 +225,7 @@ BootScriptExecutorEntryPoint ( } ImageContext.ImageAddress = (PHYSICAL_ADDRESS)(UINTN)FfsBuffer; // - // Align buffer on section boundry + // Align buffer on section boundary // ImageContext.ImageAddress += ImageContext.SectionAlignment - 1; ImageContext.ImageAddress &= ~(ImageContext.SectionAlignment - 1); diff --git a/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c b/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c index 321cf62..0445c02 100644 --- a/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c +++ b/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/AcpiSmmPlatform.c @@ -3,7 +3,7 @@ ACPISMM Driver implementation file. This is QNC Smm platform driver -Copyright (c) 2013-2015 Intel Corporation. +Copyright (c) 2013-2016 Intel Corporation. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -501,7 +501,7 @@ RestoreQncS3SwCallback ( /*++ Routine Description: - SMI handler to retore QncS3 code & context for S3 path + SMI handler to restore QncS3 code & context for S3 path This will be only triggered when BootScript got executed during resume Arguments: diff --git a/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c b/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c index 0f71b1f..88b50c1 100644 --- a/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c +++ b/QuarkPlatformPkg/Platform/Pei/PlatformInit/PlatformEarlyInit.c @@ -142,7 +142,7 @@ SetLanControllerMacAddr ( SaveBarReg = PciRead32 (DevPcieAddr + R_IOH_MAC_MEMBAR); // - // Use predefined tempory memory resource + // Use predefined temporary memory resource // PciWrite32 ( DevPcieAddr + R_IOH_MAC_MEMBAR, Bar0); PciWrite8 ( DevPcieAddr + PCI_COMMAND_OFFSET, EFI_PCI_COMMAND_MEMORY_SPACE); @@ -800,7 +800,7 @@ CheckForResetDueToErrors ( // // Check if RMU reset system due to access violations. - // RMU updates a SOC Unit register before reseting the system. + // RMU updates a SOC Unit register before resetting the system. // RegValue = QNCAltPortRead (QUARK_SCSS_SOC_UNIT_SB_PORT_ID, QUARK_SCSS_SOC_UNIT_CFG_STICKY_RW); if ((RegValue & B_CFG_STICKY_RW_VIOLATION) != 0) { @@ -1048,7 +1048,7 @@ EarlyPlatformGpioCtrlerInitAndManipulation ( SaveBarReg = PciRead32 (DevPcieAddr + PcdGet8 (PcdIohGpioBarRegister)); // - // Use predefined tempory memory resource. + // Use predefined temporary memory resource. // PciWrite32 ( DevPcieAddr + PcdGet8 (PcdIohGpioBarRegister), IohGpioBase); PciWrite8 ( DevPcieAddr + PCI_COMMAND_OFFSET, EFI_PCI_COMMAND_MEMORY_SPACE); -- cgit v1.1