nuttx/arch/xtensa/src
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
..
common irq: remove restore_critical_section in irq 2024-08-25 21:14:19 +08:00
esp32 nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
esp32s2 style: remove redundant spaces 2024-08-25 19:22:15 +08:00
esp32s3 nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
lx6 arch: Add --whole-archive linker option for some of architectures 2024-06-28 02:31:40 +08:00
lx7 arch: Add --whole-archive linker option for some of architectures 2024-06-28 02:31:40 +08:00
.gitignore
Makefile use apps-or-nuttx-Make.defs for archs 2024-03-01 12:59:16 -03:00