From 91c38d4e94c1461f5824b83d3722fe46626aa0d3 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Tue, 26 Aug 2014 10:14:17 +0000 Subject: ARM Packages: Replace tabs by spaces for indentation Replace tabs by spaces for indentation to comply to EDK2 coding standards. Done in files with extension ".S", ".c", ".h", ".asm", ".dsc", ".inc", "*.inf", "*.dec" or ".fdf" and located in ArmPkg, ArmPlatformPkg, EmbeddedPkg, BeagleBoardPkg or Omap35xxPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron Reviewed-By: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15901 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/Sec/Arm/Helper.S | 4 ++-- ArmPlatformPkg/Sec/Arm/Helper.asm | 2 +- ArmPlatformPkg/Sec/Arm/SecEntryPoint.S | 2 +- ArmPlatformPkg/Sec/Arm/SecEntryPoint.asm | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'ArmPlatformPkg/Sec') diff --git a/ArmPlatformPkg/Sec/Arm/Helper.S b/ArmPlatformPkg/Sec/Arm/Helper.S index 2e2801fe85..ac40102218 100644 --- a/ArmPlatformPkg/Sec/Arm/Helper.S +++ b/ArmPlatformPkg/Sec/Arm/Helper.S @@ -72,10 +72,10 @@ ASM_PFX(copy_cpsr_into_spsr): # Set the Non Secure Mode ASM_PFX(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 + orr r1, r1, r0 msr spsr_cxsf, r1 @ write back spsr (may have caused a mode switch) isb pop { r1 } diff --git a/ArmPlatformPkg/Sec/Arm/Helper.asm b/ArmPlatformPkg/Sec/Arm/Helper.asm index febcdb18a1..8aa7d7840d 100644 --- a/ArmPlatformPkg/Sec/Arm/Helper.asm +++ b/ArmPlatformPkg/Sec/Arm/Helper.asm @@ -67,7 +67,7 @@ set_non_secure_mode 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 + orr r1, r1, r0 msr spsr_cxsf, r1 // write back spsr (may have caused a mode switch) isb pop { r1 } diff --git a/ArmPlatformPkg/Sec/Arm/SecEntryPoint.S b/ArmPlatformPkg/Sec/Arm/SecEntryPoint.S index 158a08f5e3..51b91b965d 100644 --- a/ArmPlatformPkg/Sec/Arm/SecEntryPoint.S +++ b/ArmPlatformPkg/Sec/Arm/SecEntryPoint.S @@ -51,7 +51,7 @@ _IdentifyCpu: mov r9, r0 // Is it the Primary Core ? - bl ASM_PFX(ArmPlatformIsPrimaryCore) + bl ASM_PFX(ArmPlatformIsPrimaryCore) cmp r0, #1 // Only the primary core initialize the memory (SMC) beq _InitMem diff --git a/ArmPlatformPkg/Sec/Arm/SecEntryPoint.asm b/ArmPlatformPkg/Sec/Arm/SecEntryPoint.asm index a97041d021..b30fab2141 100644 --- a/ArmPlatformPkg/Sec/Arm/SecEntryPoint.asm +++ b/ArmPlatformPkg/Sec/Arm/SecEntryPoint.asm @@ -53,7 +53,7 @@ _IdentifyCpu mov r9, r0 // Is it the Primary Core ? - bl ArmPlatformIsPrimaryCore + bl ArmPlatformIsPrimaryCore cmp r0, #1 // Only the primary core initialize the memory (SMC) beq _InitMem -- cgit v1.2.3