nuttx/boards/arm
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
..
a1x/pcduino-a10 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
am335x/beaglebone-black nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
at32/at32f437-mini nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
c5471/c5471evm nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
csk6 arm: Add support for CSK6011A SOC and CSK6011A-NANO board 2024-09-05 09:34:33 -03:00
cxd56xx arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
dm320/ntosd-dm320 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
efm32 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
eoss3/quickfeather nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
fvp-v8r-aarch32/fvp-armv8r-aarch32 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
gd32f4 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
imx6/sabre-6quad boards: Add TLS_NELEM dependency to libcxxabi 2024-09-06 09:52:33 +08:00
imxrt boards: Add TLS_NELEM dependency to libcxxabi 2024-09-06 09:52:33 +08:00
kinetis nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
kl nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
lc823450/lc823450-xgevk nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
lpc17xx_40xx nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
lpc31xx nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
lpc43xx nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
lpc54xx/lpcxpresso-lpc54628 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
lpc214x nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
lpc2378/olimex-lpc2378 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
max326xx/max32660-evsys nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
moxart/moxa nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
mps docs: Migrate MPS board documentation 2024-09-12 10:26:08 -03:00
mx8mp/verdin-mx8mp boards: Add TLS_NELEM dependency to libcxxabi 2024-09-06 09:52:33 +08:00
nrf52 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nrf53 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nrf91 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
nuc1xx/nutiny-nuc120 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
phy62xx/phy6222 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
qemu/qemu-armv7a nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
rp2040 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
s32k1xx nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
s32k3xx nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
sam34 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
sama5 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
samd2l2 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
samd5e5 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
samv7 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
stm32f0l0g0 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32f7 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
stm32h7 arm/linum-stm32h753bi: Add support to RFID MFRC522 2024-09-06 14:10:08 -03:00
stm32l4 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32l5 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32u5 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32wb nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
stm32wl5/nucleo-wl55jc nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
str71x/olimex-strp711 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
tiva libc/netdb: Separate IPv4 and IPv6 cache size limit 2024-09-02 06:16:50 -04:00
tlsr82/tlsr8278adk80d nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
tms570 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00
xmc4 nuttx: remove the unnecessary -pipe build option 2024-08-31 10:22:20 +08:00