diff options
author | Antoine Cœur <coeur@gmx.fr> | 2019-02-06 23:39:35 +0800 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2019-07-04 12:20:28 +0100 |
commit | ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420 (patch) | |
tree | e101e619122fa00859d5d776a026556ef7401e76 /ArmPkg/Library/ArmExceptionLib/Arm | |
parent | 080981d72dcbb782ad73716c439639324b0aa4dd (diff) | |
download | edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.tar.gz edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.tar.bz2 edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.zip |
ArmPkg: Fix various typos
Fix various typos in ArmPkg.
Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Library/ArmExceptionLib/Arm')
-rw-r--r-- | ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.S | 2 | ||||
-rw-r--r-- | ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.S b/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.S index 481dee9b80..d9ad775934 100644 --- a/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.S +++ b/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.S @@ -227,7 +227,7 @@ ASM_PFX(AsmCommonExceptionEntry): ldr R5, [SP, #0x58] @ PC is the LR pushed by srsfd
@ Check to see if we have to adjust for Thumb entry
sub r4, r0, #1 @ if (ExceptionType == 1 || ExceptionType == 2)) {
- cmp r4, #1 @ // UND & SVC have differnt LR adjust for Thumb
+ cmp r4, #1 @ // UND & SVC have different LR adjust for Thumb
bhi NoAdjustNeeded
tst r1, #0x20 @ if ((CPSR & T)) == T) { // Thumb Mode on entry
diff --git a/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm b/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm index 06507c6404..aa0229d2e8 100644 --- a/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm +++ b/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm @@ -221,7 +221,7 @@ AsmCommonExceptionEntry ldr R5, [SP, #0x58] ; PC is the LR pushed by srsfd
; Check to see if we have to adjust for Thumb entry
sub r4, r0, #1 ; if (ExceptionType == 1 || ExceptionType == 2)) {
- cmp r4, #1 ; // UND & SVC have differnt LR adjust for Thumb
+ cmp r4, #1 ; // UND & SVC have different LR adjust for Thumb
bhi NoAdjustNeeded
tst r1, #0x20 ; if ((CPSR & T)) == T) { // Thumb Mode on entry
|