nuttx/arch/sparc/src/sparc_v8
hujun5 f6a9e91057 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 restored

test:
We can use qemu for testing.
compiling
make distclean -j20; ./tools/configure.sh -l qemu-armv8a:nsh_smp ;make -j20
running
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-07-02 03:00:57 +08:00
..
Kconfig
Make.defs
sparc_v8_copystate.c
sparc_v8_doirq.c irq: remove restore_critical_section in irq 2024-07-02 03:00:57 +08:00
sparc_v8_initialstate.c
sparc_v8_irq.c
sparc_v8_registerdump.c
sparc_v8_romgetc.c
sparc_v8_saveusercontext.c
sparc_v8_schedulesigaction.c
sparc_v8_sigdeliver.c signal: fix deadlock when sigdeliver call enter_critical_section 2024-06-22 19:35:28 -03:00
sparc_v8_swint1.c
sparc_v8_switchcontext.c
sparc_v8_syscall.S
sparc_v8_systemreset.c
sparc_v8.h
Toolchain.defs Add basic support for locales in order to C++ streams to build and work for simple cases (POSIX / C locale). 2024-04-29 17:34:10 +08:00