nuttx/arch/arm64/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
..
a64
fvp-v8r arm64: inline up_cpu_index 2024-06-28 21:29:33 +08:00
goldfish arm64: inline up_cpu_index 2024-06-28 21:29:33 +08:00
imx8
imx9
qemu arm64/qemu_boot: add arm64 pci io memory map 2024-09-10 14:34:31 +08:00
rk3399
zynq-mpsoc arch/arm64: add initial support for ZYNQ MPSOC 2024-07-13 20:51:39 -03:00
.gitignore
arch.h arm64: Initial implementation of CONFIG_BUILD_KERNEL 2024-08-23 10:26:34 -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
setjmp.h
spinlock.h nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
stdarg.h
syscall.h arm64: Initial implementation of CONFIG_BUILD_KERNEL 2024-08-23 10:26:34 -03:00
types.h types.h: fix windows build error 2024-08-14 22:36:57 +08:00