zephyr/arch/arm/core
Xiaorui Hu eb48a0a73c arm: armv6-m: Support relocating vector table
An abnormal crash was encountered in ARMv6-M SoCs that don't have flash
starting at 0.  With Zephyr OS the reason for this crash is that, on
ARMv6-M the system requires an exception vector table at the 0 address.

We implement the relocate_vector_table function to move the vector table
code to address 0 on systems which don't have the start of code already
at 0.

[kumar.gala: reworderd commit message, tweaked how we check if we need
 to copy vector table]

Signed-off-by: Xiaorui Hu <xiaorui.hu@linaro.org>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-08-09 18:13:29 -04:00
..
cortex_m arm: armv6-m: Support relocating vector table 2017-08-09 18:13:29 -04:00
offsets arm: core: Update core to use struct k_thread 2017-03-30 18:31:05 +00:00
Kconfig arm: dts: Cleanup HAS_DTS 2017-05-15 13:22:54 -04:00
Makefile arm: core: mpu: Add ARM MPU support 2017-04-25 21:53:17 +00:00
__aeabi_atexit.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cpu_idle.S linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
exc_exit.S arm: handle time slicing before context switch on exception. 2017-08-08 09:33:25 -04:00
fatal.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
fault.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
fault_s.S linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
irq_init.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
irq_manage.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
irq_offload.c arm: implement __svc on Cortex M0 2017-06-02 02:17:32 -04:00
isr_wrapper.S linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
swap.S stack_sentinel: change cooperative check 2017-06-08 13:49:36 -05:00
sys_fatal_error_handler.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
thread.c arm: mpu: Adjust to use opaque kernel data types 2017-08-09 13:36:09 -05:00
thread_abort.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00