mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 02:05:21 +00:00
Since firq utilizes a 2nd register bank, and since all of those many GPRs can be used, the strategy here is to save extra registers, such as lp_count, lp_start, lp_end into callee saved registers. These registers are safe to use because the C-ABI followed by the compiler will cause these to be spilled to the stack if a C function wants to use them. By selecting upper GPRs, r23-r25, it is very unlikely the compiler will spill them. This improvement, therefore, can avoid a d-cache miss since we are avoding memory altogether when saving these. The struct firq_regs is no longer needed. Change-Id: I7c0d061908a90376da7a0101b62e804647a20443 Signed-off-by: Chuck Jordan <cjordan@synopsys.com> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
nios2 | ||
x86 | ||
Kconfig | ||
Makefile |