]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Fix various typos
authorAntoine Cœur <coeur@gmx.fr>
Wed, 6 Feb 2019 15:39:35 +0000 (23:39 +0800)
committerLeif Lindholm <leif.lindholm@linaro.org>
Thu, 4 Jul 2019 11:20:28 +0000 (12:20 +0100)
Fix various typos in ArmPkg.

Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
31 files changed:
ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.c
ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c
ArmPkg/Drivers/CpuDxe/Arm/Mmu.c
ArmPkg/Drivers/CpuDxe/CpuMmuCommon.c
ArmPkg/Drivers/CpuDxe/CpuMpCore.c
ArmPkg/Drivers/CpuDxe/Exception.c
ArmPkg/Drivers/CpuPei/CpuPei.c
ArmPkg/Drivers/TimerDxe/TimerDxe.c
ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.h
ArmPkg/Include/Library/ArmDisassemblerLib.h
ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c
ArmPkg/Library/ArmDisassemblerLib/Aarch64Disassembler.c
ArmPkg/Library/ArmDisassemblerLib/ArmDisassembler.c
ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c
ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.S
ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm
ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.c
ArmPkg/Library/ArmLib/AArch64/AArch64Support.S
ArmPkg/Library/ArmLib/AArch64/ArmLibSupportV8.S
ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c
ArmPkg/Library/ArmMmuLib/Arm/ArmMmuLibCore.c
ArmPkg/Library/DebugPeCoffExtraActionLib/DebugPeCoffExtraActionLib.inf
ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c
ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c
ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c
ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.c
ArmPkg/Library/RvdPeCoffExtraActionLib/RvdPeCoffExtraActionLib.inf
ArmPkg/Library/SemiHostingDebugLib/DebugLib.c
ArmPkg/Library/SemiHostingSerialPortLib/SemiHostingSerialPortLib.inf
ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c

index bd522c2e96bc9250f5e55c5ef154b2264f5aa354..d8625e159304a5d442240fadd82c06625e2674cc 100644 (file)
@@ -146,7 +146,7 @@ CpuIoCheckParameter (
   //\r
   // Since MAX_ADDRESS can be the maximum integer value supported by the CPU and Count\r
   // can also be the maximum integer value supported by the CPU, this range\r
-  // check must be adjusted to avoid all oveflow conditions.\r
+  // check must be adjusted to avoid all overflow conditions.\r
   //\r
   // The following form of the range check is equivalent but assumes that\r
   // MAX_ADDRESS and MAX_IO_PORT_ADDRESS are of the form (2^n - 1).\r
index 316f9adaf9314002ea194ed370a369fa22e11bc0..3b6c5e733709836fdca206ff8e1ad1134f25d4e5 100644 (file)
@@ -281,7 +281,7 @@ GetMemoryRegionRec (
     BlockEntry++;\r
   } else if (EntryType == BlockEntryType) {\r
     // We have found the BlockEntry attached to the address. We save its start address (the start\r
-    // address might be before the 'BaseAdress') and attributes\r
+    // address might be before the 'BaseAddress') and attributes\r
     *BaseAddress      = *BaseAddress & ~(TT_ADDRESS_AT_LEVEL(TableLevel) - 1);\r
     *RegionLength     = 0;\r
     *RegionAttributes = *BlockEntry & TT_ATTRIBUTES_MASK;\r
index f6be5b78ce6c639e76f9712983962e5395677b35..6fb5112a1a8e26f3d8c3ea9634209a3336280459 100644 (file)
@@ -234,7 +234,7 @@ SyncCacheConfig (
   EFI_GCD_MEMORY_SPACE_DESCRIPTOR     *MemorySpaceMap;\r
 \r
 \r
-  DEBUG ((EFI_D_PAGE, "SyncCacheConfig()\n"));\r
+  DEBUG ((DEBUG_PAGE, "SyncCacheConfig()\n"));\r
 \r
   // This code assumes MMU is enabled and filed with section translations\r
   ASSERT (ArmMmuEnabled ());\r
index 13fa7cd01ebac7a75c448c0a6bea44b76af854bf..cdb1d6786af54aa865209cbb82e3ac2bc96f4881 100644 (file)
@@ -188,7 +188,7 @@ CpuSetMemoryAttributes (
 \r
   if ((BaseAddress & (SIZE_4KB - 1)) != 0) {\r
     // Minimum granularity is SIZE_4KB (4KB on ARM)\r
-    DEBUG ((EFI_D_PAGE, "CpuSetMemoryAttributes(%lx, %lx, %lx): Minimum ganularity is SIZE_4KB\n", BaseAddress, Length, EfiAttributes));\r
+    DEBUG ((DEBUG_PAGE, "CpuSetMemoryAttributes(%lx, %lx, %lx): Minimum granularity is SIZE_4KB\n", BaseAddress, Length, EfiAttributes));\r
     return EFI_UNSUPPORTED;\r
   }\r
 \r
index af0fb9b2e9168d8a73a990157620527f8e3ecf07..d16ae3979207966e716054bf3f3c675775ba257c 100644 (file)
@@ -61,7 +61,7 @@ PublishArmProcessorTable (
         // Allocate Runtime memory for ARM processor table\r
         ArmProcessorTable = (ARM_PROCESSOR_TABLE*)AllocateRuntimePool(sizeof(ARM_PROCESSOR_TABLE));\r
 \r
-        // Check if the memory allocation is succesful or not\r
+        // Check if the memory allocation is successful or not\r
         ASSERT(NULL != ArmProcessorTable);\r
 \r
         // Set ARM processor table to default values\r
@@ -81,7 +81,7 @@ PublishArmProcessorTable (
         ArmProcessorTable->ArmCpus = (ARM_CORE_INFO*)AllocateRuntimePool (\r
            ArmProcessorTable->NumberOfEntries * sizeof(ARM_CORE_INFO));\r
 \r
-        // Check if the memory allocation is succesful or not\r
+        // Check if the memory allocation is successful or not\r
         ASSERT(NULL != ArmProcessorTable->ArmCpus);\r
 \r
         // Copy ARM Processor Table data from HOB list to newly allocated memory\r
index a4c0f2d45f5f96022ff5c9e2d4ff54c03805bd96..50ed50ebb04616008586a26821b8c5d396e1d0a4 100644 (file)
@@ -27,7 +27,7 @@ InitializeExceptions (
     VectorInfo = VectorInfoList;\r
   }\r
 \r
-  // intialize the CpuExceptionHandlerLib so we take over the exception vector table from the DXE Core\r
+  // initialize the CpuExceptionHandlerLib so we take over the exception vector table from the DXE Core\r
   InitializeCpuExceptionHandlers(VectorInfo);\r
 \r
   Status = EFI_SUCCESS;\r
index b616810649a74b416282594250d3c4a0a44b2202..c44311d6b72202ae84321ec615c595e13bfb42f5 100644 (file)
@@ -23,7 +23,7 @@ Abstract:
 //\r
 #include <PiPei.h>\r
 //\r
-// The protocols, PPI and GUID defintions for this module\r
+// The protocols, PPI and GUID definitions for this module\r
 //\r
 #include <Ppi/ArmMpCoreInfo.h>\r
 \r
index 6843596fc334ae0ea06b4ec974a6b5aebbc65712..dccaeae23c29dd234ecb193ea8e95fa82e0d4959 100644 (file)
@@ -365,7 +365,7 @@ TimerInitialize (
   UINT32      TimerHypIntrNum;\r
 \r
   if (ArmIsArchTimerImplemented () == 0) {\r
-    DEBUG ((EFI_D_ERROR, "ARM Architectural Timer is not available in the CPU, hence cann't use this Driver \n"));\r
+    DEBUG ((DEBUG_ERROR, "ARM Architectural Timer is not available in the CPU, hence can't use this Driver \n"));\r
     ASSERT (0);\r
   }\r
 \r
index ef8a45301cf99c5cbee33b6e7a8de73a2cf36dbc..a66bcb136918ac817b52f8ba391323c5dcdd10fb 100644 (file)
@@ -691,7 +691,7 @@ FileGetPosition (
   @param[in]  Position  The byte position from the start of the file to set.\r
 \r
   @retval  EFI_SUCCESS       The position was set.\r
-  @retval  EFI_DEVICE_ERROR  The semi-hosting positionning operation failed.\r
+  @retval  EFI_DEVICE_ERROR  The semi-hosting positioning operation failed.\r
   @retval  EFI_UNSUPPORTED   The seek request for nonzero is not valid on open\r
                              directories.\r
   @retval  EFI_INVALID_PARAMETER  The parameter "This" is NULL.\r
index 64a56ee2f796bd98c1f3db1ef39dd455d70581b3..ce92fe9f1b9196c98c9d5ea3f2c16bfada04319b 100644 (file)
@@ -157,7 +157,7 @@ FileGetPosition (
   @param[in]  Position  The byte position from the start of the file to set.\r
 \r
   @retval  EFI_SUCCESS       The position was set.\r
-  @retval  EFI_DEVICE_ERROR  The semi-hosting positionning operation failed.\r
+  @retval  EFI_DEVICE_ERROR  The semi-hosting positioning operation failed.\r
   @retval  EFI_UNSUPPORTED   The seek request for nonzero is not valid on open\r
                              directories.\r
 \r
index 1c77b3dfe3f824bd65c9c789d061121b7cdf4dc6..c103b72e81277fe8f9b9dd76ee81da3d6fe7ec5a 100644 (file)
@@ -10,8 +10,8 @@
 #define __ARM_DISASSEBLER_LIB_H__\r
 \r
 /**\r
-  Place a dissasembly of of **OpCodePtr into buffer, and update OpCodePtr to\r
-  point to next instructin.\r
+  Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to\r
+  point to next instruction.\r
 \r
   We cheat and only decode instructions that access\r
   memory. If the instruction is not found we dump the instruction in hex.\r
index e6e47c8c3b3861b65688020f519a98188ed7b038..7c698fe471f3fcd832bb14c17f76477f5f645102 100644 (file)
@@ -152,7 +152,7 @@ MicroSecondDelay (
 \r
   @param  NanoSeconds The minimum number of nanoseconds to delay.\r
 \r
-  @return The value of NanoSeconds inputed.\r
+  @return The value of NanoSeconds inputted.\r
 \r
 **/\r
 UINTN\r
index f3afc4360fc6e4279a61f85b26ebd5fa9112b8bd..353f41bfbaf0b0f73dd3f3d987736aff678b42c0 100644 (file)
@@ -13,7 +13,7 @@
 #include <Library/ArmDisassemblerLib.h>\r
 \r
 /**\r
-  Place a disassembly of of **OpCodePtr into buffer, and update OpCodePtr to\r
+  Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to\r
   point to next instruction.\r
 \r
   @param  OpCodePtrPtr  Pointer to pointer of instruction to disassemble.\r
index b38a4ce07f69ea7fd980d7e6fdb44214fcaaff7e..b4f0f8dbbfc99255dee694ea9ad85be3995a733e 100644 (file)
@@ -137,8 +137,8 @@ RotateRight (
 \r
 \r
 /**\r
-  Place a dissasembly of of **OpCodePtr into buffer, and update OpCodePtr to\r
-  point to next instructin.\r
+  Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to\r
+  point to next instruction.\r
 \r
   We cheat and only decode instructions that access\r
   memory. If the instruction is not found we dump the instruction in hex.\r
index dbfaee0586a969b5930574a163ef4741cad6a7a7..b665132d69bf26e4bd922e9c71104a6b9bc71b43 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  Thumb Dissassembler. Still a work in progress.\r
+  Thumb Disassembler. Still a work in progress.\r
 \r
   Wrong output is a bug, so please fix it.\r
   Hex output means there is not yet an entry or a decode bug.\r
@@ -103,7 +103,7 @@ typedef struct {
 } THUMB_INSTRUCTIONS;\r
 \r
 THUMB_INSTRUCTIONS gOpThumb[] = {\r
-// Thumb 16-bit instrucitons\r
+// Thumb 16-bit instructions\r
 //          Op       Mask   Format\r
   { "ADC" , 0x4140, 0xffc0, DATA_FORMAT5 },  // ADC <Rndn>, <Rm>\r
   { "ADR",  0xa000, 0xf800, ADR_FORMAT   },  // ADR <Rd>, <label>\r
@@ -447,7 +447,7 @@ SignExtend32 (
 \r
 //\r
 // Some instructions specify the PC is always considered aligned\r
-// The PC is after the instruction that is excuting. So you pass\r
+// The PC is after the instruction that is executing. So you pass\r
 // in the instruction address and you get back the aligned answer\r
 //\r
 UINT32\r
@@ -459,8 +459,8 @@ PCAlign4 (
 }\r
 \r
 /**\r
-  Place a dissasembly of of **OpCodePtr into buffer, and update OpCodePtr to\r
-  point to next instructin.\r
+  Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to\r
+  point to next instruction.\r
 \r
   We cheat and only decode instructions that access\r
   memory. If the instruction is not found we dump the instruction in hex.\r
@@ -1023,8 +1023,8 @@ DisassembleArmInstruction (
 \r
 \r
 /**\r
-  Place a dissasembly of of **OpCodePtr into buffer, and update OpCodePtr to\r
-  point to next instructin.\r
+  Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to\r
+  point to next instruction.\r
 \r
   We cheat and only decode instructions that access\r
   memory. If the instruction is not found we dump the instruction in hex.\r
index 481dee9b80beaadf2fc4060557505d1d138db1cb..d9ad775934759ad3ba05934524809f8f51e02893 100644 (file)
@@ -227,7 +227,7 @@ ASM_PFX(AsmCommonExceptionEntry):
   ldr       R5, [SP, #0x58]         @ PC is the LR pushed by srsfd\r
                                     @ Check to see if we have to adjust for Thumb entry\r
   sub       r4, r0, #1              @ if (ExceptionType == 1 || ExceptionType == 2)) {\r
-  cmp       r4, #1                  @   // UND & SVC have differnt LR adjust for Thumb\r
+  cmp       r4, #1                  @   // UND & SVC have different LR adjust for Thumb\r
   bhi       NoAdjustNeeded\r
 \r
   tst       r1, #0x20               @   if ((CPSR & T)) == T) {  // Thumb Mode on entry\r
index 06507c6404df5e87ffa4062940d7e0493410caa1..aa0229d2e85fa5c5ab1b85127b383cc846d8b1e7 100644 (file)
@@ -221,7 +221,7 @@ AsmCommonExceptionEntry
   ldr       R5, [SP, #0x58]         ; PC is the LR pushed by srsfd\r
                                     ; Check to see if we have to adjust for Thumb entry\r
   sub       r4, r0, #1              ; if (ExceptionType == 1 || ExceptionType == 2)) {\r
-  cmp       r4, #1                  ;   // UND & SVC have differnt LR adjust for Thumb\r
+  cmp       r4, #1                  ;   // UND & SVC have different LR adjust for Thumb\r
   bhi       NoAdjustNeeded\r
 \r
   tst       r1, #0x20               ;   if ((CPSR & T)) == T) {  // Thumb Mode on entry\r
index bd1895ef1d7e3230c715ceb518dc844f4bdf9219..1ff90dede57fe5fe44f03f08ca8a243680b7e1c1 100644 (file)
@@ -94,7 +94,7 @@ InitializeCpuExceptionHandlers(
 \r
   Status = EFI_SUCCESS;\r
 \r
-  // if we are requested to copy exceptin handlers to another location\r
+  // if we are requested to copy exception handlers to another location\r
   if (gArmRelocateVectorTable) {\r
 \r
     VectorBase = PcdGet64(PcdCpuVectorBaseAddress);\r
@@ -131,7 +131,7 @@ InitializeCpuExceptionHandlers(
 }\r
 \r
 /**\r
-Copies exception handlers to the speciifed address.\r
+Copies exception handlers to the specified address.\r
 \r
 Caller should try to get an array of interrupt and/or exception vectors that are in use and need to\r
 persist by EFI_VECTOR_HANDOFF_INFO defined in PI 1.3 specification.\r
index 310d4bb48ae5dba4eeeded0a44fa4963b27802d1..199374ff59e3328bd87008ed1ccc0441aeed17b6 100644 (file)
@@ -430,13 +430,13 @@ ASM_FUNC(ArmReadMpidr)
   ret\r
 \r
 \r
-// Keep old function names for C compatibilty for now. Change later?\r
+// Keep old function names for C compatibility for now. Change later?\r
 ASM_FUNC(ArmReadTpidrurw)\r
   mrs   x0, tpidr_el0           // read tpidr_el0 (v7 TPIDRURW) -> (v8 TPIDR_EL0)\r
   ret\r
 \r
 \r
-// Keep old function names for C compatibilty for now. Change later?\r
+// Keep old function names for C compatibility for now. Change later?\r
 ASM_FUNC(ArmWriteTpidrurw)\r
   msr   tpidr_el0, x0           // write tpidr_el0 (v7 TPIDRURW) -> (v8 TPIDR_EL0)\r
   ret\r
@@ -453,7 +453,7 @@ ASM_FUNC(ArmReadIdPfr0)
   ret\r
 \r
 \r
-// Q: id_aa64pfr1_el1 not defined yet. What does this funtion want to access?\r
+// Q: id_aa64pfr1_el1 not defined yet. What does this function want to access?\r
 // A: used to setup arch timer. Check if we have security extensions, permissions to set stuff.\r
 //    See: ArmPkg/Library/ArmArchTimerLib/AArch64/ArmArchTimerLib.c\r
 //    Not defined yet, but stick in here for now, should read all zeros.\r
index c9aab63f36816ae8c51ecaf8d390ca749e39dada..0e8d21e2264f7c165dcaa14821fa6ce32a940cec 100644 (file)
@@ -23,7 +23,7 @@
 \r
 \r
 ASM_FUNC(ArmIsMpCore)\r
-  mrs   x0, mpidr_el1         // Read EL1 Mutliprocessor Affinty Reg (MPIDR)\r
+  mrs   x0, mpidr_el1         // Read EL1 Multiprocessor Affinty Reg (MPIDR)\r
   and   x0, x0, #MPIDR_U_MASK // U Bit clear, the processor is part of a multiprocessor system\r
   lsr   x0, x0, #MPIDR_U_BIT\r
   eor   x0, x0, #1\r
index 2cd584c89829206079e28876e29b4d55f9dc5285..e8f5c69e31360fd350a0d5338863d0775cfa798d 100644 (file)
@@ -352,7 +352,7 @@ UpdateRegionMapping (
 \r
   do {\r
     // Get the first Block Entry that matches the Virtual Address and also the information on the Table Descriptor\r
-    // such as the the size of the Block Entry and the address of the last BlockEntry of the Table Descriptor\r
+    // such as the size of the Block Entry and the address of the last BlockEntry of the Table Descriptor\r
     BlockEntrySize = RegionLength;\r
     BlockEntry = GetBlockEntryListFromAddress (RootTable, RegionStart, &TableLevel, &BlockEntrySize, &LastBlockEntry);\r
     if (BlockEntry == NULL) {\r
index edb4de341f851b72eb8e983645ca6318558fc871..74ac31de98cc33d2f3aa1eec6828f7426487bc74 100644 (file)
@@ -691,7 +691,7 @@ UpdateSectionEntries (
   for(i=0; i<NumSections; i++) {\r
     CurrentDescriptor = FirstLevelTable[FirstLevelIdx + i];\r
 \r
-    // has this descriptor already been coverted to pages?\r
+    // has this descriptor already been converted to pages?\r
     if (TT_DESCRIPTOR_SECTION_TYPE_IS_PAGE_TABLE(CurrentDescriptor)) {\r
       // forward this 1MB range to page table function instead\r
       Status = UpdatePageEntries (\r
index e0ea815b3ec0a6d564434fdd5656efc6cf2dea89..42b283d645901dc9f0f5d46e3fcd4e00f7d2202e 100644 (file)
@@ -1,5 +1,5 @@
 #/** @file\r
-# PeCoff extra action libary for DXE phase that run Unix emulator.\r
+# PeCoff extra action library for DXE phase that run Unix emulator.\r
 #\r
 # Lib to provide memory journal status code reporting Routines\r
 # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
index ef71398cce0c17b1b510afd45a705e6b00ba03ca..ba3c0e0cc467096f52828ec1a5c39f7654554053 100644 (file)
@@ -137,7 +137,7 @@ BaseName (
 /**\r
   This is the default action to take on an unexpected exception\r
 \r
-  Since this is exception context don't do anything crazy like try to allcoate memory.\r
+  Since this is exception context don't do anything crazy like try to allocate memory.\r
 \r
   @param  ExceptionType    Type of the exception\r
   @param  SystemContext    Register state at the time of the Exception\r
index a214e6ef250110d88f4fc4c682820c2df2fc45b5..fa9af8c410b9cbe11e7a8dfaabf1442efaa682a2 100644 (file)
@@ -168,7 +168,7 @@ STATIC CHAR8 *gExceptionTypeString[] = {
 /**\r
   This is the default action to take on an unexpected exception\r
 \r
-  Since this is exception context don't do anything crazy like try to allcoate memory.\r
+  Since this is exception context don't do anything crazy like try to allocate memory.\r
 \r
   @param  ExceptionType    Type of the exception\r
   @param  SystemContext    Register state at the time of the Exception\r
index 1e30f148b30cd2b5de1b1361aec7b45c96719216..39b892a4b29b6006191c4b7e828e9585cfae72ff 100644 (file)
@@ -650,11 +650,11 @@ HandleCapsules (
   Do the platform specific action after the console is ready\r
   Possible things that can be done in PlatformBootManagerAfterConsole:\r
   > Console post action:\r
-    > Dynamically switch output mode from 100x31 to 80x25 for certain senarino\r
+    > Dynamically switch output mode from 100x31 to 80x25 for certain scenario\r
     > Signal console ready platform customized event\r
   > Run diagnostics like memory testing\r
   > Connect certain devices\r
-  > Dispatch aditional option roms\r
+  > Dispatch additional option roms\r
   > Special boot: e.g.: USB boot, enter UI\r
 **/\r
 VOID\r
index 5fe9b25f1f6479e3b41f0cec5595d0522abea7e4..80e531921c7a92431c8dda754d43fc30dcb8e5b5 100644 (file)
@@ -21,7 +21,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 /**\r
   Append string to debugger script file, create file if needed.\r
 \r
-  This library can show up in mulitple places so we need to append the file every time we write to it.\r
+  This library can show up in multiple places so we need to append the file every time we write to it.\r
   For example Sec can use this to load the DXE core, and the DXE core would use this to load all the\r
   other modules. So we have two instances of the library in the system.\r
 \r
index 49946ecfb7c247af8dfb7a5af0923e28b5639291..6b7ac8750911a40b8975db72a5863f8f5fc824de 100644 (file)
@@ -1,5 +1,5 @@
 #/** @file\r
-# PeCoff extra action libary for DXE phase that run Unix emulator.\r
+# PeCoff extra action library for DXE phase that run Unix emulator.\r
 #\r
 # Lib to provide memory journal status code reporting Routines\r
 # Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
index 055158aed59a3db2b37b20a4917f015d161a6ee8..ae762d8bea626b96059c941a724f95c5bd5d3117 100644 (file)
@@ -172,11 +172,11 @@ DebugBPrint (
 \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 recusrsion.  If DebugAssert() is called while\r
+  DebugAssert() must actively prevent recursion.  If DebugAssert() is called while\r
   processing another DebugAssert(), then DebugAssert() must return immediately.\r
 \r
   If FileName is NULL, then a <FileName> string of "(NULL) Filename" is printed.\r
@@ -246,7 +246,7 @@ DebugClearMemory (
   ASSERT (Buffer != NULL);\r
 \r
   //\r
-  // SetMem() checks for the the ASSERT() condition on Length and returns Buffer\r
+  // SetMem() checks for the ASSERT() condition on Length and returns Buffer\r
   //\r
   return SetMem (Buffer, Length, PcdGet8(PcdDebugClearMemoryValue));\r
 }\r
@@ -257,10 +257,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
@@ -278,10 +278,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
@@ -299,10 +299,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
@@ -320,10 +320,10 @@ DebugCodeEnabled (
   Returns TRUE if DEBUG_CLEAR_MEMORY()macro is enabled.\r
 \r
   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_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_DEBUG_CLEAR_MEMORY_ENABLED bit of PcdDebugProperyMask is set.\r
-  @retval  FALSE   The DEBUG_PROPERTY_DEBUG_CLEAR_MEMORY_ENABLED bit of PcdDebugProperyMask is clear.\r
+  @retval  TRUE    The DEBUG_PROPERTY_DEBUG_CLEAR_MEMORY_ENABLED bit of PcdDebugPropertyMask is set.\r
+  @retval  FALSE   The DEBUG_PROPERTY_DEBUG_CLEAR_MEMORY_ENABLED bit of PcdDebugPropertyMask is clear.\r
 \r
 **/\r
 BOOLEAN\r
index b44b97609b92ea2bc23a56d7a43d3f04fb8aec38..814dabb9aff9c38a299f81364feabe0818c65891 100644 (file)
@@ -1,5 +1,5 @@
 #/** @file\r
-# Semihosting  serail port lib\r
+# Semihosting  serial port lib\r
 #\r
 # Copyright (c) 2008, Apple Inc. All rights reserved.<BR>\r
 #\r
index 851b00e8a1086f3131757ffa98b52131fe54058d..7e5c61fad4bdbdd658f76f005c12ac983c76d427 100644 (file)
@@ -103,7 +103,7 @@ SerialPortWrite (
   @param  NumberOfBytes    Number of output bytes which are cached in Buffer.\r
 \r
   @retval 0                Read data failed.\r
-  @retval !0               Aactual number of bytes read from serial device.\r
+  @retval !0               Actual number of bytes read from serial device.\r
 \r
 **/\r
 UINTN\r
@@ -120,10 +120,10 @@ SerialPortRead (
 \r
 \r
 /**\r
-  Check to see if any data is avaiable to be read from the debug device.\r
+  Check to see if any data is available to be read from the debug device.\r
 \r
-  @retval TRUE       At least one byte of data is avaiable to be read\r
-  @retval FALSE      No data is avaiable to be read\r
+  @retval TRUE       At least one byte of data is available to be read\r
+  @retval FALSE      No data is available to be read\r
 \r
 **/\r
 BOOLEAN\r