nuttx-update/arch/xtensa
hujun5 e98dd37534 xtensa: g_current_regs is only used to determine if we are in irq,
with other functionalities removed.

reason:
by doing this we can reduce context switch time,
When we exit from an interrupt handler, we directly use tcb->xcp.regs

before
text    data     bss     dec     hex filename
178368     876  130604  309848   4ba58 nuttx
after
text    data     bss     dec     hex filename
178120     876  130212  309208   4b7d8 nuttx

szie change -248

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-09-27 23:44:04 +08:00
..
include xtensa/esp32[|s2|s3]: Fix task backtrace dump 2024-09-23 20:40:58 +08:00
src xtensa: g_current_regs is only used to determine if we are in irq, 2024-09-27 23:44:04 +08:00
Kconfig xtensa/Kconfig: Fix dependency for backtrace dump on Xtensas 2024-09-23 20:40:58 +08:00