Searched refs:sr_name (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/arch/arm/core/cortex_m/ |
D | pm_s2ram.S | 26 #define CPU_CTX_SR_OFFSET(sr_name) \ argument 27 ___cpu_context_t_ ## sr_name ## _OFFSET 33 #define SAVE_SPECIAL_REG(sr_name, cpu_ctx_reg, tmp_reg) \ argument 34 mrs tmp_reg, sr_name; \ 35 str tmp_reg, [cpu_ctx_reg, # CPU_CTX_SR_OFFSET(sr_name)]; 37 #define RESTORE_SPECIAL_REG(sr_name, cpu_ctx_reg, tmp_reg) \ argument 38 ldr tmp_reg, [cpu_ctx_reg, # CPU_CTX_SR_OFFSET(sr_name)]; \ 39 msr sr_name, tmp_reg;
|