From ff5fef1428dafc8f73e1f5d63966ef5c9bd8c420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20C=C5=93ur?= Date: Wed, 6 Feb 2019 23:39:35 +0800 Subject: ArmPkg: Fix various typos Fix various typos in ArmPkg. Signed-off-by: Coeur Reviewed-by: Leif Lindholm --- ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ArmPkg/Library/ArmExceptionLib/Arm/ExceptionSupport.asm') 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 -- cgit v1.1