]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Library/DebugAgentSymbolsBaseLib/Arm/DebugAgentException.asm
MdeModulePkg/MdeModulePkg.dsc: add MM_STANDALONE FTW and variable modules
[mirror_edk2.git] / ArmPkg / Library / DebugAgentSymbolsBaseLib / Arm / DebugAgentException.asm
index f281c0603fde9eee9e0996ba2b6ff6d9ac669fee..cf59447bed106863a2a42c4ca85d6f58e0785abc 100644 (file)
@@ -44,7 +44,7 @@ This is the stack constructed by the exception handler (low address to high addr
   IFAR  0x50\r
 \r
   LR    0x54    # SVC Link register (we need to restore it)\r
-  \r
+\r
   LR    0x58    # pushed by srsfd\r
   CPSR  0x5c\r
 \r
@@ -77,7 +77,7 @@ ResetEntry
   stmfd     SP!,{LR}                  ; Store the link register for the current mode\r
   sub       SP,SP,#0x20               ; Save space for SP, LR, PC, IFAR - CPSR\r
   stmfd     SP!,{R0-R12}              ; Store the register state\r
-  \r
+\r
   mov       R0,#0                     ; ExceptionType\r
   ldr       R1,CommonExceptionEntry\r
   bx        R1\r
@@ -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