zephyr/arch/arm/core
Huifeng Zhang abde709b5e arch: arm: cortex_a_r: introduce USE_SWITCH
This commit introduce 'USE_SWITCH' feature into cortex-A/R(aarch32)
architecture

For introducing USE_SWITCH, the exception entry and exit are unified via
`z_arm_cortex_ar_enter_exc` and `z_arm_cortex_ar_exit_exc`. All
exceptions including ISR are using this way to enter and exit exception
handler.

Differentiate exception depth and interrupt depth. Allow doing
context switch when exception depth greater than 1 but not allow doing
this when interrupt depth greater than 1.

Currently, USE_SWITCH doesn't support FPU_SHARING and USERSPACE.

Signed-off-by: Huifeng Zhang <Huifeng.Zhang@arm.com>
2023-11-06 15:32:01 -06:00
..
cortex_a_r arch: arm: cortex_a_r: introduce USE_SWITCH 2023-11-06 15:32:01 -06:00
cortex_m arm: using -EAGAIN directly instead of _k_neg_eagain 2023-10-20 15:14:13 +02:00
mmu include: arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
mpu soc: move arm cortex_m common mpu code to arch/arm/core/mpu 2023-11-02 09:45:18 +01:00
offsets arch: arm: cortex_a_r: introduce USE_SWITCH 2023-11-06 15:32:01 -06:00
__aeabi_atexit.c arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
CMakeLists.txt llext: Linkable loadable extensions 2023-09-29 20:50:38 -04:00
elf.c llext: Cleanups noted in initial PR 2023-10-01 09:22:18 +03:00
fatal.c arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
header.S arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
irq_offload.c arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
Kconfig arch: arm: cortex_a_r: introduce USE_SWITCH 2023-11-06 15:32:01 -06:00
Kconfig.vfp arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
nmi.c arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
nmi_on_reset.S arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
tls.c arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
userspace.S include: arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
vector_table.ld arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
zimage_header.ld arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00