nuttx/arch/arm/src
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 arch: Fix style warnings regarding included header files 2024-03-05 09:45:49 +08:00
am335x style: remove redundant spaces 2024-08-25 19:22:15 +08:00
arm arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
armv6-m arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
armv7-a arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
armv7-m arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
armv7-r arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
armv8-m arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
armv8-r arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
at32 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
c5471
cmake armv8-r/r52: add neon support into compiler line 2024-09-05 09:52:51 -03:00
common arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
csk6 arm: Add support for CSK6011A SOC and CSK6011A-NANO board 2024-09-05 09:34:33 -03:00
cxd32xx Fix Kconfig style 2024-07-12 06:37:59 +08:00
cxd56xx arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
dm320 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
efm32 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
eoss3 arch/arm:add up_debugpoint api 2023-12-11 08:43:26 -08:00
fvp-v8r-aarch32 fix nxstyle 2024-04-15 15:33:17 -03:00
gd32f4 style: remove redundant spaces 2024-08-25 19:22:15 +08:00
goldfish arch: Remove xxx_intstack_top and xxx_intstack_alloc 2024-04-09 16:59:00 -03:00
imx1 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
imx6 sched: replace up_cpu_index with this_cpu 2024-09-05 12:09:24 +08:00
imxrt can: Merge netpacket/can.h into nuttx/can.h 2024-08-26 05:05:31 -04:00
kinetis net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
kl spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
lc823450 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
lpc17xx_40xx net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
lpc31xx arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
lpc43xx lpc43xx/usb: Fix gcc13.2 compiler error 2023-12-19 08:36:49 +08:00
lpc54xx net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
lpc214x arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
lpc2378 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
max326xx arch/arm:add up_debugpoint api 2023-12-11 08:43:26 -08:00
moxart arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
mps nuttx/mps2: Support NuttX running on qemu cortex-m7 2024-08-25 22:56:46 +08:00
mx8mp arch/mx8mp: add rptun/rpmsg client support 2024-04-30 11:30:02 -03:00
nrf52 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
nrf53 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
nrf91 nrf91: fix cmake compiler error 2024-09-06 09:42:53 +08:00
nuc1xx
phy62xx style: remove redundant spaces 2024-08-25 19:22:15 +08:00
qemu sched: replace up_cpu_index with this_cpu 2024-09-05 12:09:24 +08:00
rp2040 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
rtl8720c net/netstatistics: add tx/rx bytes statistics for dev 2024-09-10 11:36:03 +08:00
s32k1xx can: Merge netpacket/can.h into nuttx/can.h 2024-08-26 05:05:31 -04:00
s32k3xx can: Merge netpacket/can.h into nuttx/can.h 2024-08-26 05:05:31 -04:00
sam34 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
sama5 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
samd2l2 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
samd5e5 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
samv7 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32f0l0g0 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32f7 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32h7 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32l4 usbdev: extend the usb req len to size_t 2024-08-30 01:32:02 +08:00
stm32l5 spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
stm32u5 style: remove redundant spaces 2024-08-25 19:22:15 +08:00
stm32wb style: remove redundant spaces 2024-08-25 19:22:15 +08:00
stm32wl5 fix stm32wl5_rcc.h: Add the missing argument to RCC_PLLCFG_PLLP define. 2024-08-11 03:10:20 +08:00
str71x arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
tiva can: Merge netpacket/can.h into nuttx/can.h 2024-08-26 05:05:31 -04:00
tlsr82 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
tms570 arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
xmc4 Fix xmc4_spi.c DX select. 2024-09-10 11:36:59 +08:00
.gitignore
CMakeLists.txt
Makefile toolchain/ghs: Fix green hills toolchain build Vela warnings 2024-08-27 01:56:34 +08:00