summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/ArmExceptionLib/Arm
diff options
context:
space:
mode:
authorAntoine Cœur <coeur@gmx.fr>2019-02-06 23:39:35 +0800
committerLeif Lindholm <leif.lindholm@linaro.org>2019-07-04 12:20:28 +0100
commitff5fef1428dafc8f73e1f5d63966ef5c9bd8c420 (patch)
treee101e619122fa00859d5d776a026556ef7401e76 /ArmPkg/Library/ArmExceptionLib/Arm
parent080981d72dcbb782ad73716c439639324b0aa4dd (diff)
downloadedk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.zip
edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.tar.gz
edk2-ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420.tar.bz2
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.S2
-rw-r--r--ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm2
2 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.S b/ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.S
index 481dee9..d9ad775 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 06507c6..aa0229d 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