incubator-nuttx/arch/xtensa/include
hujun5 908df725ad arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS
reason:
1 On different architectures, we can utilize more optimized strategies
  to implement up_current_regs/up_set_current_regs.
eg. use interrupt registersor percpu registers.

code size
before
    text    data     bss     dec     hex filename
 262848   49985   63893  376726   5bf96 nuttx

after
       text    data     bss     dec     hex filename
 262844   49985   63893  376722   5bf92 nuttx

size change -4

Configuring NuttX and compile:
$ ./tools/configure.sh -l qemu-armv8a:nsh_smp
$ make
Running with qemu
$ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \
   -machine virt,virtualization=on,gic-version=3 \
   -net none -chardev stdio,id=con,mux=on -serial chardev:con \
   -mon chardev=con,mode=readline -kernel ./nuttx

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-09-13 23:18:58 +08:00
..
esp32 esp32/irq: Allow IRAM ISRs to run during SPI flash operation 2023-11-10 09:11:35 +08:00
esp32s2 xtensa/esp32s2: add WiFi support on ESP32S2 2024-09-06 09:46:59 +08:00
esp32s3 esp32s3: add simple boot support 2024-04-17 19:43:05 +08:00
lx6
lx7
xtensa
.gitignore
arch.h xtensa/esp32s3: Disable psram as task stack 2023-11-08 16:25:57 -03:00
elf.h
inttypes.h
irq.h arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
limits.h
loadstore.h
setjmp.h
simcall.h
spinlock.h arch: inline up_testset in arm arm64 riscv xtensa 2024-08-21 01:45:10 +08:00
stdarg.h
syscall.h
types.h types.h: fix windows build error 2024-08-14 22:36:57 +08:00