nuttx/arch
hujun5 1d6a099180 irq: remove restore_critical_section in irq
Only in the non-critical region, nuttx can the respond to the irq and not hold the lock
When returning from the irq, there is no need to check whether the lock needs to be released
we also need keep restore_critical_section in svc call

test:
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-08-25 21:14:19 +08:00
..
arm irq: remove restore_critical_section in irq 2024-08-25 21:14:19 +08:00
arm64 irq: remove restore_critical_section in irq 2024-08-25 21:14:19 +08:00
avr types.h: fix windows build error 2024-08-14 22:36:57 +08:00
ceva irq: remove restore_critical_section in irq 2024-08-25 21:14:19 +08:00
dummy
hc types.h: fix windows build error 2024-08-14 22:36:57 +08:00
mips style: remove redundant spaces 2024-08-25 19:22:15 +08:00
misoc types.h: fix windows build error 2024-08-14 22:36:57 +08:00
or1k types.h: fix windows build error 2024-08-14 22:36:57 +08:00
renesas types.h: fix windows build error 2024-08-14 22:36:57 +08:00
risc-v irq: remove restore_critical_section in irq 2024-08-25 21:14:19 +08:00
sim nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
sparc irq: remove restore_critical_section in irq 2024-08-25 21:14:19 +08:00
tricore types.h: fix windows build error 2024-08-14 22:36:57 +08:00
x86 arch/EXTRA_LIBS: link all staging library. 2024-08-21 01:40:15 +08:00
x86_64 arch/x86_64: remove 'ul' sufix from shift value 2024-08-25 19:22:15 +08:00
xtensa irq: remove restore_critical_section in irq 2024-08-25 21:14:19 +08:00
z16 types.h: fix windows build error 2024-08-14 22:36:57 +08:00
z80 types.h: fix windows build error 2024-08-14 22:36:57 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig libc/x86_64: port string functions from bionic 2024-07-02 23:59:18 +08:00