incubator-nuttx/arch
hujun5 c06c10f6f3 armv6/7/8-m: use ISB instruction immediately after the MSR instruction
when changing the stack pointer, software must use an
ISB instruction immediately after the MSR instruction.
This ensures that instructions after the ISB instruction
execute using the new stack pointer.

https://developer.arm.com/documentation/101928/0101/The-Cortex-M85-Processor--Reference-Material/Programmer-s-model/Core-registers/CONTROL-register?lang=en

" When changing the stack pointer, software must use an ISB instruction immediately after the MSR instruction. This ensures that instructions after the ISB instruction execute using the new stack pointer."

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-05-29 14:16:55 -03:00
..
arm armv6/7/8-m: use ISB instruction immediately after the MSR instruction 2024-05-29 14:16:55 -03:00
arm64 arm64: s/ARCH_BOOT_EL3/ARCH_ARM64_EXCEPTION_LEVEL/g 2024-05-21 09:02:35 +08:00
avr 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
ceva 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
dummy
hc stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
mips up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
misoc fix nxstyle 2024-05-13 22:24:36 +02:00
or1k up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
renesas stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
risc-v mpfs_mpu: Check that size is valid for MPUCFG 2024-05-24 21:32:55 +08:00
sim arch/sim_encoder: g_bufsize initialization error in g_sim_encoder_ops structure 2024-05-15 22:03:18 +08:00
sparc up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
tricore arch/tricore: add spinlock support 2024-03-21 18:47:14 +08:00
x86 stack: update up_get_intstackbase API to support cpu id 2024-04-09 16:59:00 -03:00
x86_64 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
xtensa esp32s2/esp32s3 textheap: do not require RTC heap 2024-05-24 21:31:42 +08:00
z16 up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
z80 up_putc: int up_putc, enter_critical_section may be called 2024-05-09 13:45:02 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig Revert "arch/sim: temporary remove vfork test to fix cibreak on arch sim" 2024-05-24 15:41:20 +08:00