diff options
Diffstat (limited to 'ArmPlatformPkg/Sec/Helper.asm')
-rw-r--r-- | ArmPlatformPkg/Sec/Helper.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPlatformPkg/Sec/Helper.asm b/ArmPlatformPkg/Sec/Helper.asm index 1649df399a..cd9603c7a0 100644 --- a/ArmPlatformPkg/Sec/Helper.asm +++ b/ArmPlatformPkg/Sec/Helper.asm @@ -64,7 +64,7 @@ copy_cpsr_into_spsr // Set the Non Secure Mode
set_non_secure_mode
push { r1 }
- and r0, r0, #0x1f // Keep only the mode bits
+ and r0, r0, #0x1f // Keep only the mode bits
mrs r1, spsr // Read the spsr
bic r1, r1, #0x1f // Clear all mode bits
orr r1, r1, r0
|