nuttx/arch/ceva/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
..
xc5 Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
xm6 Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
.gitignore
arch.h power: add PM_IDLE_DOMAIN to pm.h and remove definations 2022-07-29 11:15:40 +08: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 arch: Define WCHAR_[MIN|MAX] in arch/include/limits.h 2022-06-03 22:25:49 +03:00
math.h
spinlock.h toolchain/ghs: Fix SP_DSB warnings 2024-08-11 14:28:12 -03:00
stdarg.h
syscall.h arch: rename arch special function name 2022-11-22 16:27:56 +08:00
types.h