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 Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
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 arch/arm64: Change the ARM configuration to ARM64.Add ARM64_NEON configuration 2024-06-20 09:41:28 +08:00
imx9 arch/arm64: Change the ARM configuration to ARM64.Add ARM64_NEON configuration 2024-06-20 09:41:28 +08:00
qemu arm64/qemu_boot: add arm64 pci io memory map 2024-09-10 14:34:31 +08:00
rk3399 Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
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 coredump:support arm64 coredump 2023-12-08 21:33:03 -03:00
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 arch/arm64: default select ARCH_HAVE_SETJMP 2023-07-28 20:57:26 -07:00
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