zephyr/arch/arm/core/cortex_m
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
..
mpu arm: mpu: fix: align stack for mpu stack guard 2017-08-09 13:36:09 -05:00
exc_manage.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
Kconfig arm: dts: Cleanup HAS_DTS 2017-05-15 13:22:54 -04:00
Makefile Merge "Merge arm branch into master" 2017-02-11 04:00:58 +00:00
nmi_on_reset.S linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
nmi.c linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
prep_c.c arm: armv6-m: Support relocating vector table 2017-08-09 18:13:29 -04:00
reset.S linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
scb.c arch/arm/core: In comments, consistently refer to "Cortex-M". 2017-03-13 12:53:46 +00:00
vector_table.h linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00
vector_table.S linker: move all linker headers to include/linker 2017-06-18 09:24:04 -05:00