41#define FUNCTION(x) .global x; .text; .code 32; x:
42#define MPIDR_CPUID_MASK 0xFFU
macro EXC_SP_SET reg1 mrc c0
macro EXC_SP_SET stackBottom
macro EXC_SP_SET stackSize
macro EXC_SP_SET reg1 mrc 获取CPU信息 and mov mul reg0 计算当前CPU栈的偏移位置 ldr reg1 相减得到栈顶 mov sp
macro EXC_SP_SET reg1 mrc p15
macro EXC_SP_SET reg1 mrc 获取CPU信息 and mov mul reg0 计算当前CPU栈的偏移位置 ldr reg1 相减得到栈顶 mov reg0 设置SP
macro EXC_SP_SET reg1 mrc 获取CPU信息 and mov reg1