zephyr/soc
Manuel Argüelles a7bda08960 nxp: s32ze: take exceptions in Arm mode
Cortex-R52 supports both Arm and Thumb-2 mode, but Zephyr's ASM
code for Armv-8 Aarch32 is written for Arm mode only. This Soc
has a general purpose register that can set the core TEINIT signal
to change the mode exceptions are taken before booting up the core.
The debugger startup scripts or firmware booting up the core may
configure this bit to Thumb mode, as is the case of the NXP S32 debug
probe startup scripts for S32ZE.

Due to above reason, clear SCTLR.TE bit at reset so that TEINIT value
is ignored and exceptions are always taken into Arm mode, compatible
with current Zephyr ASM code. At least until taking execeptions in Thumb
mode is supported in Zephyr.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
2023-10-25 18:14:51 -07:00
..
arc uart: ns16550: use io-mapped DT property for IO port access 2023-09-26 12:03:04 +02:00
arm nxp: s32ze: take exceptions in Arm mode 2023-10-25 18:14:51 -07:00
arm64 boards: arm64: add support for Raspberry Pi 4 Model B 2023-09-28 13:40:45 +02:00
mips asm: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
nios2 linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
posix native SOC: Add option to make a MCU to boot on its own 2023-09-29 16:21:43 +03:00
riscv arch: Enable ramfunc feature on RISC-V PRIVILEGE SOC family 2023-10-25 17:35:07 +02:00
sparc linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
x86 random: Rename random header 2023-10-10 14:23:50 +03:00
xtensa boards: Add support for the NXP MIMXRT595 DSP core 2023-10-25 09:55:10 -04:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig nrf5x_bsim: Add helper kconfig symbols for simulated nrf5340 2023-09-20 08:56:49 +02:00