nuttx/arch/mips/src/pic32mz
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
..
hardware arch: Fix nxstyle errors 2023-04-28 15:00:33 -03:00
Kconfig Kconfig: Simplify the conditional default statement 2023-07-16 14:39:20 -03:00
Make.defs sched/task/fork: add fork implementation 2023-07-12 02:27:37 +08:00
pic32mz_config.h
pic32mz_decodeirq.c arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
pic32mz_dma.c arch: rename arch special function name 2022-11-22 16:27:56 +08:00
pic32mz_dma.h
pic32mz_ethernet.c net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00
pic32mz_exception.c arch: use up_current_regs/up_set_current_regs replace CURRENT_REGS 2024-09-13 23:18:58 +08:00
pic32mz_excptmacros.h Fix nuttx coding style 2023-07-14 20:48:24 +08:00
pic32mz_freerun.c
pic32mz_freerun.h
pic32mz_gpio.c
pic32mz_gpio.h
pic32mz_gpioirq.c arch: rename arch special function name 2022-11-22 16:27:56 +08:00
pic32mz_head.S arch: rename arch special function name 2022-11-22 16:27:56 +08:00
pic32mz_i2c.c style: remove redundant spaces 2024-08-25 19:22:15 +08:00
pic32mz_i2c.h
pic32mz_irq.c arch: rename arch special function name 2022-11-22 16:27:56 +08:00
pic32mz_lowconsole.c Fix typos: s/UARt/UART/ 2023-02-16 09:25:35 +08:00
pic32mz_lowconsole.h
pic32mz_lowinit.c arch: rename arch special function name 2022-11-22 16:27:56 +08:00
pic32mz_lowinit.h arch: Fix nxstyle errors 2023-04-28 15:00:33 -03:00
pic32mz_oneshot_lowerhalf.c
pic32mz_oneshot.c arm/oneshot: rm sched_[un]lock 2023-09-09 20:26:32 +08:00
pic32mz_oneshot.h
pic32mz_serial.c spin_lock: inline spin_lock 2024-07-15 02:29:30 +08:00
pic32mz_spi.c Fix the coding style and typo issue 2022-11-14 09:34:04 +09:00
pic32mz_spi.h
pic32mz_timer_lowerhalf.c
pic32mz_timer.c arch: rename arch special function name 2022-11-22 16:27:56 +08:00
pic32mz_timer.h
pic32mz_timerisr.c arch: rename arch special function name 2022-11-22 16:27:56 +08:00
pic32mz_usbdev.h arch: Fix nxstyle errors 2023-04-28 15:00:33 -03:00