nuttx/arch/xtensa
hujun5 542e46319c 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-10-10 15:31:50 +02:00
..
include esp32s3: Fix faulty esp32s3-devkit:stack example 2024-09-21 10:42:06 +08:00
src xtensa: g_current_regs is only used to determine if we are in irq, with other functionalities removed. 2024-10-10 15:31:50 +02:00
Kconfig nuttx/atomic.h:Fix missing type declarations at compile time 2024-08-22 01:44:29 +08:00