nuttx/arch
Tiago Medicci Serrano 606190d9b3 esp32/ble: fix saving/restoring the interrupt status flags
Whenever we enter/leave a critical section, the interrupt status is
saved and, then, restored. However, for the ESP32's BLE adapter,
entering/leaving a critical section is done on separate functions
that need to be registered as a callback.

The status flag was being saved as a global variable. However,
calling nested enter_critical_section would overwrite this global
variable that was storing the previous flag and, when leaving the
last critical section, the restored status would be different from
the one expected. The proposed solution for this issue is to create
a global array to store the interrupt status flags for nested calls.
2023-11-10 09:11:35 +08:00
..
arm sama5: add support for QSPI 2023-11-08 21:58:02 +01:00
arm64 qemu/arm64: implement up_textheap_align and support sotest 2023-10-30 18:20:22 +08:00
avr Revert "make/archive: Use the full path name when matching or storing names in the archive" 2023-10-27 22:26:18 +08:00
ceva format: modify spin_lock_irqsave format 2023-10-06 20:00:04 -04:00
dummy
hc net/ip: print ip addresses using ip4_addrN macro 2023-08-19 13:28:21 -03:00
mips Revert "make/archive: Use the full path name when matching or storing names in the archive" 2023-10-27 22:26:18 +08:00
misoc Revert "make/archive: Use the full path name when matching or storing names in the archive" 2023-10-27 22:26:18 +08:00
or1k Revert "make/archive: Use the full path name when matching or storing names in the archive" 2023-10-27 22:26:18 +08:00
renesas Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
risc-v cmake: move NUTTX_CHIP_ABS_DIR before common src 2023-11-07 17:39:03 +01:00
sim mm: record the maximum system memory usage 2023-11-09 09:08:49 +08:00
sparc Revert "make/archive: Use the full path name when matching or storing names in the archive" 2023-10-27 22:26:18 +08:00
x86 Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
x86_64 Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
xtensa esp32/ble: fix saving/restoring the interrupt status flags 2023-11-10 09:11:35 +08:00
z16 arch: update g_running_tasks when context switch occurred 2023-08-01 09:35:18 -07:00
z80 Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig mm/kmap: Fix bad dependency to ARCH_VMA_MAPPING 2023-11-02 15:10:57 +02:00