zephyr/arch/arm/core/aarch32
Julien Massot 7a510245c9 arch: arm: cortex_a_r: Add support to start in HYP mode
The ARMv8-R processors always boot into Hyp mode (EL2)

To enter EL1:
Program the HACTLR register because it defaults
to only allowing EL2 accesses. HACTLR controls
whether EL1 can access memory region registers and CPUACTLR.
Program the SPSR before entering EL1.
Other registers default to allowing accesses at EL1 from reset.
Set VBAR to the correct location for the vector table.
Set ELR to point to the entry point of the EL1 code and call ERET.

Signed-off-by: Julien Massot <julien.massot@iot.bzh>
2022-03-11 10:59:48 +01:00
..
cortex_a_r arch: arm: cortex_a_r: Add support to start in HYP mode 2022-03-11 10:59:48 +01:00
cortex_m arm: cortex-m: add an option to trap unaligned access 2022-03-10 13:47:41 -05:00
mmu arch: arm: core: aarch32: introduce basic ARMv7 MMU support 2021-10-28 15:26:50 +02:00
mpu arch: arm: aarch32: Change CPU_CORTEX_R kconfig option 2022-02-23 08:14:15 -06:00
__aeabi_atexit.c
CMakeLists.txt arch: arm: aarch32: Change CPU_CORTEX_R kconfig option 2022-02-23 08:14:15 -06:00
cpu_idle.S arch: arm: Add support for Cortex-R52 2022-03-11 10:59:48 +01:00
fatal.c arch: aarch32: cortex_m/r: Add arch exception helper 2021-07-28 21:08:09 -04:00
irq_manage.c arch: arm: Add support for Cortex-R52 2022-03-11 10:59:48 +01:00
irq_offload.c arch: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
irq_relay.S arch: arm: Export vector table symbols with GDATA instead of GTEXT 2020-07-24 12:04:28 +02:00
isr_wrapper.S arch: arm: Add support for Cortex-R52 2022-03-11 10:59:48 +01:00
Kconfig kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
nmi_on_reset.S
nmi.c arm: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
prep_c.c arm: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
swap_helper.S arch: arm: Add support for Cortex-R52 2022-03-11 10:59:48 +01:00
swap.c arch: arm: aarch32: Change CPU_CORTEX_R kconfig option 2022-02-23 08:14:15 -06:00
thread.c arch: arm: Add support for Cortex-R52 2022-03-11 10:59:48 +01:00
userspace.S arch: arm: core: aarch32: Fix Cortex-M userspace regression 2022-02-10 08:40:45 -05:00
vector_table.ld arm: fix the VTOR alignment requirement for Baseline Cortex-M 2021-07-28 21:08:18 -04:00