]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Fix typos in comments
authorGary Lin <glin@suse.com>
Wed, 19 Oct 2016 07:01:06 +0000 (15:01 +0800)
committerLeif Lindholm <leif.lindholm@linaro.org>
Wed, 19 Oct 2016 15:31:22 +0000 (16:31 +0100)
- differnt -> different
- Libary -> Library
- intialized -> initialized

Cc: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.S
ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm
ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.c

index 0f2e4b1ac8afda2b460a736c47bf257929467209..21518146080359b1a9b0c966d9373beb8ee270c3 100644 (file)
@@ -211,7 +211,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 b879142f2736b8b4050cc4d6884aeab63e81402e..cf59447bed106863a2a42c4ca85d6f58e0785abc 100644 (file)
@@ -206,7 +206,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 fe5fd5500c9b6eae1291301cc5c2bf1a0c3a1544..9c0cf0de38e15b30cb3ce99f37cec42c80d23206 100644 (file)
@@ -259,7 +259,7 @@ GetImageContext (
   function and pass it into InitializeDebugAgent(). InitializeDebugAgent() is\r
   responsible to invoke the passing-in function at the end of InitializeDebugAgent().\r
 \r
-  If the parameter Function is not NULL, Debug Agent Libary instance will invoke it by\r
+  If the parameter Function is not NULL, Debug Agent Library instance will invoke it by\r
   passing in the Context to be its parameter.\r
 \r
   If Function() is NULL, Debug Agent Library instance will return after setup debug\r
@@ -289,7 +289,7 @@ InitializeDebugAgent (
   ASSERT (((UINTN)DebugAgentVectorTable & ARM_VECTOR_TABLE_ALIGNMENT) == 0);\r
   ArmWriteVBar ((UINTN)DebugAgentVectorTable);\r
 \r
-  // We use InitFlag to know if DebugAgent has been intialized from\r
+  // We use InitFlag to know if DebugAgent has been initialized from\r
   // Sec (DEBUG_AGENT_INIT_PREMEM_SEC) or PrePi (DEBUG_AGENT_INIT_POSTMEM_SEC)\r
   // modules\r
   if (InitFlag == DEBUG_AGENT_INIT_PREMEM_SEC) {\r