mirror of https://github.com/acidanthera/audk.git
ArmPlatformPkg: Coding style changes (tab and line endings) - Minor changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12828 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d0acc87a41
commit
c20d62b5d2
|
@ -29,7 +29,7 @@
|
||||||
// Motherboard Peripheral and On-chip peripheral
|
// Motherboard Peripheral and On-chip peripheral
|
||||||
#define ARM_VE_BOARD_PERIPH_BASE 0x1C010000
|
#define ARM_VE_BOARD_PERIPH_BASE 0x1C010000
|
||||||
|
|
||||||
// NOR Flash 1
|
// NOR Flash 1
|
||||||
// There is typo in the reference manual for the Base address of NOR Flash 1
|
// There is typo in the reference manual for the Base address of NOR Flash 1
|
||||||
#define ARM_VE_SMB_NOR0_BASE 0x08000000
|
#define ARM_VE_SMB_NOR0_BASE 0x08000000
|
||||||
#define ARM_VE_SMB_NOR0_SZ SIZE_64MB
|
#define ARM_VE_SMB_NOR0_SZ SIZE_64MB
|
||||||
|
|
|
@ -64,7 +64,7 @@ copy_cpsr_into_spsr
|
||||||
// Set the Non Secure Mode
|
// Set the Non Secure Mode
|
||||||
set_non_secure_mode
|
set_non_secure_mode
|
||||||
push { r1 }
|
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
|
mrs r1, spsr // Read the spsr
|
||||||
bic r1, r1, #0x1f // Clear all mode bits
|
bic r1, r1, #0x1f // Clear all mode bits
|
||||||
orr r1, r1, r0
|
orr r1, r1, r0
|
||||||
|
|
Loading…
Reference in New Issue