]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFsp2Pkg: Fix various typos
authorAntoine Cœur <coeur@gmx.fr>
Thu, 11 Jul 2019 08:54:31 +0000 (16:54 +0800)
committerChasel Chiu <chasel.chiu@intel.com>
Thu, 11 Jul 2019 13:07:17 +0000 (21:07 +0800)
Fix various typos in IntelFsp2Pkg.

Signed-off-by: Cœur <coeur@gmx.fr>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
18 files changed:
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryM.nasm
IntelFsp2Pkg/FspSecCore/Ia32/InitializeFpu.nasm
IntelFsp2Pkg/FspSecCore/Ia32/SaveRestoreSseNasm.inc
IntelFsp2Pkg/FspSecCore/Ia32/Stack.nasm
IntelFsp2Pkg/FspSecCore/SecFsp.c
IntelFsp2Pkg/FspSecCore/SecMain.c
IntelFsp2Pkg/FspSecCore/Vtf0/Ia16/ResetVec.asm16
IntelFsp2Pkg/Include/FspEas/FspApi.h
IntelFsp2Pkg/Include/Library/FspSecPlatformLib.h
IntelFsp2Pkg/Library/BaseCacheLib/CacheLib.c
IntelFsp2Pkg/Library/BaseFspDebugLibSerialPort/DebugLib.c
IntelFsp2Pkg/Library/BaseFspSwitchStackLib/Ia32/Stack.nasm
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/Flat32.nasm
IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/PlatformSecLibNull.c
IntelFsp2Pkg/Tools/GenCfgOpt.py
IntelFsp2Pkg/Tools/PatchFv.py
IntelFsp2Pkg/Tools/UserManuals/GenCfgOptUserManual.md
IntelFsp2Pkg/Tools/UserManuals/PatchFvUserManual.md

index f14c18c7b92cdb9c05e906311ed510343bc7af72..e7261b41cd28be8dabd4af4614b263253f3c5c50 100644 (file)
@@ -194,9 +194,9 @@ StackSetupDone:
 \r
   ;\r
   ; Pass BFV into the PEI Core\r
-  ; It uses relative address to calucate the actual boot FV base\r
+  ; It uses relative address to calculate the actual boot FV base\r
   ; For FSP implementation with single FV, PcdFspBootFirmwareVolumeBase and\r
-  ; PcdFspAreaBaseAddress are the same. For FSP with mulitple FVs,\r
+  ; PcdFspAreaBaseAddress are the same. For FSP with multiple FVs,\r
   ; they are different. The code below can handle both cases.\r
   ;\r
   call    ASM_PFX(AsmGetFspBaseAddress)\r
index e1886ea11b336215d130990d077fc233db79066f..ebc91c41e489d7e10a23e23691e47423a898cc89 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Abstract:\r
@@ -46,7 +46,7 @@ ASM_PFX(InitializeFloatingPointUnits):
     fldcw    [ASM_PFX(mFpuControlWord)]\r
 \r
     ;\r
-    ; Use CpuId instructuion (CPUID.01H:EDX.SSE[bit 25] = 1) to test\r
+    ; Use CpuId instruction (CPUID.01H:EDX.SSE[bit 25] = 1) to test\r
     ; whether the processor supports SSE instruction.\r
     ;\r
     mov     eax, 1\r
index b257deb76c9d4eb45f431744fc8ab9c9873d5cc0..4c321cbeceb2089596fc2a030eb4d4b827cd39ee 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Abstract:\r
@@ -150,7 +150,7 @@ NextAddress:
             fldcw   [FpuControlWord]\r
 \r
             ;\r
-            ; Use CpuId instructuion (CPUID.01H:EDX.SSE[bit 25] = 1) to test\r
+            ; Use CpuId instruction (CPUID.01H:EDX.SSE[bit 25] = 1) to test\r
             ; whether the processor supports SSE instruction.\r
             ;\r
             mov     eax, 1\r
index d72212ed45dbeecf07cae11c51202a4250325110..5a7e27c240cdb05f330af2614570393f01f2264b 100644 (file)
@@ -1,6 +1,6 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Abstract:\r
@@ -58,7 +58,7 @@ ASM_PFX(SecSwitchStack):
     mov   esp, eax                     ; From now, esp is pointed to permanent memory\r
 \r
     ;\r
-    ; Fixup the ebp point to permenent memory\r
+    ; Fixup the ebp point to permanent memory\r
     ;\r
     mov   eax, ebp\r
     sub   eax, ebx\r
index 6497c88ebe695dec8221fb734380baecfc03ec2b..446d1730e958ce09feab37641d264e1107e37a1f 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -169,7 +169,7 @@ FspGlobalDataInit (
   SerialPortInitialize ();\r
 \r
   //\r
-  // Ensure the golbal data pointer is valid\r
+  // Ensure the global data pointer is valid\r
   //\r
   ASSERT (GetFspGlobalDataPointer () == PeiFspData);\r
 \r
index cd3ab46ce2401c291d5d9c964986e68153e2d24f..a63d1336e48e933efbd0f5ae94e35baa0afd16fd 100644 (file)
@@ -110,7 +110,7 @@ SecStartup (
   // |-------------------|---->\r
   // |                   |\r
   // |                   |\r
-  // |      Heap         |    PeiTemporayRamSize\r
+  // |      Heap         |    PeiTemporaryRamSize\r
   // |                   |\r
   // |                   |\r
   // |-------------------|---->  TempRamBase\r
index f25de0206a5f118418cbb070a1643b4ceefa3de2..c51987480945a9ad7bb447552d0dfa617aef0360 100644 (file)
@@ -2,7 +2,7 @@
 ;  Reset Vector Data structure\r
 ;  This structure is located at 0xFFFFFFC0\r
 ;\r
-; Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ;;\r
@@ -61,7 +61,7 @@ ApStartup:
     ;\r
     ; Jmp Rel16 instruction\r
     ; Use machine code directly in case of the assembler optimization\r
-    ; SEC entry point relatvie address will be fixed up by some build tool.\r
+    ; SEC entry point relative address will be fixed up by some build tool.\r
     ;\r
     ; Typically, SEC entry point is the function _ModuleEntryPoint() defined in\r
     ; SecEntry.asm\r
index 1d38e639e667f6090615c13ea3a68dea028ef9b9..dcf489dbe6e08a30485d952cac45b1ebc15c570f 100644 (file)
@@ -2,7 +2,7 @@
   Intel FSP API definition from Intel Firmware Support Package External\r
   Architecture Specification v2.0.\r
 \r
-  Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -211,12 +211,12 @@ EFI_STATUS
   each FSP release.\r
   After FspMemInit completes its execution, it passes the pointer to the HobList and\r
   returns to the boot loader from where it was called. BootLoader is responsible to\r
-  migrate it's stack and data to Memory.\r
+  migrate its stack and data to Memory.\r
   FspMemoryInit, TempRamExit and FspSiliconInit APIs provide an alternate method to\r
   complete the silicon initialization and provides bootloader an opportunity to get\r
   control after system memory is available and before the temporary RAM is torn down.\r
 \r
-  @param[in]  FspmUpdDataPtr          Pointer to the FSPM_UPD data sructure.\r
+  @param[in]  FspmUpdDataPtr          Pointer to the FSPM_UPD data structure.\r
   @param[out] HobListPtr              Pointer to receive the address of the HOB list.\r
 \r
   @retval EFI_SUCCESS                 FSP execution environment was initialized successfully.\r
@@ -271,7 +271,7 @@ EFI_STATUS
   @retval EFI_INVALID_PARAMETER       Input parameters are invalid.\r
   @retval EFI_UNSUPPORTED             The FSP calling conditions were not met.\r
   @retval EFI_DEVICE_ERROR            FSP initialization failed.\r
-  @retval FSP_STATUS_RESET_REQUIREDx  A reset is reuired. These status codes will not be returned during S3.\r
+  @retval FSP_STATUS_RESET_REQUIREDx  A reset is required. These status codes will not be returned during S3.\r
 **/\r
 typedef\r
 EFI_STATUS\r
index 48b04c5a9002ef5f3476e5541dd5054d24a46014..4d01b5f6d98692ee47e5c5255e1a1b51cbd26c8e 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -66,7 +66,7 @@ SecCarInit (
   );\r
 \r
 /**\r
-  This function check the signture of UPD.\r
+  This function check the signature of UPD.\r
 \r
   @param[in]  ApiIdx           Internal index of the FSP API.\r
   @param[in]  ApiParam         Parameter of the FSP API.\r
index 927cee13d31628fe84d55cdeedc93cb00da0ab4e..17e895c3452894f8db8230a378967f700921c7a6 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -52,8 +52,8 @@ IsDefaultType (
   @param[in]  BaseAddress     Base address.\r
   @param[in]  Size            Size.\r
 \r
-  @retval Zero      Alligned.\r
-  @retval Non-Zero  Not alligned.\r
+  @retval Zero      Aligned.\r
+  @retval Non-Zero  Not aligned.\r
 \r
 **/\r
 UINT32\r
@@ -217,7 +217,7 @@ Power2MaxMemory (
   }\r
 \r
   //\r
-  // Compute inital power of 2 size to return\r
+  // Compute initial power of 2 size to return\r
   //\r
   Result = GetPowerOfTwo64(MemoryLength);\r
 \r
@@ -247,8 +247,8 @@ Power2MaxMemory (
   @param[in]  BaseAddress     Base address.\r
   @param[in]  Size            Size.\r
 \r
-  @retval Zero      Alligned.\r
-  @retval Non-Zero  Not alligned.\r
+  @retval Zero      Aligned.\r
+  @retval Non-Zero  Not aligned.\r
 \r
 **/\r
 UINT32\r
index 17688c7fcb9869616ed5c5fdd123a882f8435fb3..b34905365d9a75a2c360f85238211ef7285733fd 100644 (file)
@@ -186,7 +186,7 @@ DebugBPrint (
 }\r
 \r
 /**\r
-  Convert an UINT32 value into HEX string sepcified by Buffer.\r
+  Convert an UINT32 value into HEX string specified by Buffer.\r
 \r
   @param  Value   The HEX value to convert to string\r
   @param  Buffer  The pointer to the target buffer to be filled with HEX string\r
@@ -211,8 +211,8 @@ FillHex (
 \r
   Print a message of the form "ASSERT <FileName>(<LineNumber>): <Description>\n"\r
   to the debug output device.  If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit of\r
-  PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if\r
-  DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set then\r
+  PcdDebugPropertyMask is set then CpuBreakpoint() is called. Otherwise, if\r
+  DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugPropertyMask is set then\r
   CpuDeadLoop() is called.  If neither of these bits are set, then this function\r
   returns immediately after the message is printed to the debug output device.\r
   DebugAssert() must actively prevent recursion.  If DebugAssert() is called while\r
@@ -265,8 +265,8 @@ DebugAssertInternal (
 \r
   Print a message of the form "ASSERT <FileName>(<LineNumber>): <Description>\n"\r
   to the debug output device.  If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit of\r
-  PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if\r
-  DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set then\r
+  PcdDebugPropertyMask is set then CpuBreakpoint() is called. Otherwise, if\r
+  DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugPropertyMask is set then\r
   CpuDeadLoop() is called.  If neither of these bits are set, then this function\r
   returns immediately after the message is printed to the debug output device.\r
   DebugAssert() must actively prevent recursion.  If DebugAssert() is called while\r
@@ -322,10 +322,10 @@ DebugClearMemory (
   Returns TRUE if ASSERT() macros are enabled.\r
 \r
   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of\r
-  PcdDebugProperyMask is set.  Otherwise FALSE is returned.\r
+  PcdDebugPropertyMask is set.  Otherwise FALSE is returned.\r
 \r
-  @retval  TRUE    The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebugProperyMask is set.\r
-  @retval  FALSE   The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebugProperyMask is clear.\r
+  @retval  TRUE    The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebugPropertyMask is set.\r
+  @retval  FALSE   The DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of PcdDebugPropertyMask is clear.\r
 \r
 **/\r
 BOOLEAN\r
@@ -342,10 +342,10 @@ DebugAssertEnabled (
   Returns TRUE if DEBUG() macros are enabled.\r
 \r
   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of\r
-  PcdDebugProperyMask is set.  Otherwise FALSE is returned.\r
+  PcdDebugPropertyMask is set.  Otherwise FALSE is returned.\r
 \r
-  @retval  TRUE    The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugProperyMask is set.\r
-  @retval  FALSE   The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugProperyMask is clear.\r
+  @retval  TRUE    The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugPropertyMask is set.\r
+  @retval  FALSE   The DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of PcdDebugPropertyMask is clear.\r
 \r
 **/\r
 BOOLEAN\r
@@ -361,10 +361,10 @@ DebugPrintEnabled (
   Returns TRUE if DEBUG_CODE() macros are enabled.\r
 \r
   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of\r
-  PcdDebugProperyMask is set.  Otherwise FALSE is returned.\r
+  PcdDebugPropertyMask is set.  Otherwise FALSE is returned.\r
 \r
-  @retval  TRUE    The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugProperyMask is set.\r
-  @retval  FALSE   The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugProperyMask is clear.\r
+  @retval  TRUE    The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPropertyMask is set.\r
+  @retval  FALSE   The DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of PcdDebugPropertyMask is clear.\r
 \r
 **/\r
 BOOLEAN\r
@@ -381,10 +381,10 @@ DebugCodeEnabled (
   Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled.\r
 \r
   This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of\r
-  PcdDebugProperyMask is set.  Otherwise FALSE is returned.\r
+  PcdDebugPropertyMask is set.  Otherwise FALSE is returned.\r
 \r
-  @retval  TRUE    The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebugProperyMask is set.\r
-  @retval  FALSE   The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebugProperyMask is clear.\r
+  @retval  TRUE    The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebugPropertyMask is set.\r
+  @retval  FALSE   The DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of PcdDebugPropertyMask is clear.\r
 \r
 **/\r
 BOOLEAN\r
index 45cc9747882e9daec3e10be31922a1b9f21d17c5..6599901906bf85202ccf4727fd49e579f7940347 100644 (file)
@@ -1,11 +1,11 @@
 ;------------------------------------------------------------------------------\r
 ;\r
-; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2016 - 2019, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;\r
 ; Abstract:\r
 ;\r
-;   Switch the stack from temporary memory to permenent memory.\r
+;   Switch the stack from temporary memory to permanent memory.\r
 ;\r
 ;------------------------------------------------------------------------------\r
 \r
index dc4af7c078123c82dca4c368bae819e1a6b29838..aef7f96d1d3a07215318bdbf5a9e8738348b022a 100644 (file)
@@ -2,7 +2,7 @@
 ;  This is the code that goes from real-mode to protected mode.\r
 ;  It consumes the reset vector, configures the stack.\r
 ;\r
-; Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;;\r
 \r
@@ -54,7 +54,7 @@ ASM_PFX(SecPlatformInit):
 ;               esp\r
 ;\r
 ; Description:\r
-;               Perform any essential early platform initilaisation\r
+;               Perform any essential early platform initialisation\r
 ;               Setup a stack\r
 ;\r
 ;----------------------------------------------------------------------------\r
index 50cb3142d2f0510b3043da4b1a1cac5107cd797f..f7945b524072ebc81bdf89d4097065904ddac340 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Null instance of Platform Sec Lib.\r
 \r
-  Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -10,7 +10,7 @@
 #include <Library/FspCommonLib.h>\r
 \r
 /**\r
-  This function check the signture of UPD.\r
+  This function check the signature of UPD.\r
 \r
   @param[in]  ApiIdx           Internal index of the FSP API.\r
   @param[in]  ApiParam         Parameter of the FSP API.\r
index c4e1e6239d9ed489cbf9d5bca310929b63843ac9..a42717caaef24fc52906340977f30d8bd202b8b4 100644 (file)
@@ -535,7 +535,7 @@ EndList
                                         Offset = 0\r
                                     else:\r
                                         if DscLine.startswith('!'):\r
-                                            print("ERROR: Unrecoginized directive for line '%s'" % DscLine)\r
+                                            print("ERROR: Unrecognized directive for line '%s'" % DscLine)\r
                                             raise SystemExit\r
             if not Handle:\r
                 continue\r
index 2173984dea5c7af0b1770b01b023937107a5c1c0..edb30c816b7b2be52eae6fdbd76b8cf6cb113403 100644 (file)
@@ -160,7 +160,7 @@ class Symbols:
     #\r
     def createDicts (self, fvDir, fvNames):\r
         #\r
-        # If the fvDir is not a dirctory, then raise an exception\r
+        # If the fvDir is not a directory, then raise an exception\r
         #\r
         if not os.path.isdir(fvDir):\r
             raise Exception ("'%s' is not a valid directory!" % FvDir)\r
index 938c18416d4d6b9c42a1d84303ce0522fab0e436..0a0f5928016e3adf8d40c9abb733a937e457cd59 100644 (file)
@@ -213,7 +213,7 @@ in the third.
 ```@Bsf NAME:{Variable 1} TYPE:{Combo}```\r
 \r
 There is a special **None** type that puts the variable in the **StructDef**\r
-region of the BSF, but doesn?t put it in any **Page** section. This makes the\r
+region of the BSF, but doesn't put it in any **Page** section. This makes the\r
 variable visible to BCT, but not to the end user.\r
 \r
 ###HELP\r
index becaf96b21743ccc45a6d6cee6ee09ba4a77f5e2..5f1031e7293b035366878b822db95ae289de2efb 100644 (file)
@@ -30,7 +30,7 @@ FSP tree.
 \r
 The example used contains Windows batch script %VARIABLES%.\r
 \r
-#FvFileBaseNames (Argument 2: 0ptional Part 1)\r
+#FvFileBaseNames (Argument 2: Optional Part 1)\r
 The firmware volume file base names (**_FvFileBaseNames_**) are the independent\r
 Fv?s that are to be patched within the FD. (0 or more in the form\r
 **FVFILEBASENAME:**) The colon **:** is used for delimiting the single\r