zephyr/include/arch/arm/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: core: mpu: Add Allow write on Flash 2017-08-08 11:20:46 -05:00
scripts arm: armv6-m: Support relocating vector table 2017-08-09 18:13:29 -04:00
addr_types.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
asm_inline_gcc.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
asm_inline.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cmsis.h arm: Add build time consistency check for irq priority defines 2017-06-16 16:18:12 -04:00
error.h k_oops: force unlock IRQs on ARMv7M 2017-06-08 13:49:36 -05:00
exc.h arm: exception-assisted kernel panic/oops support 2017-04-22 10:31:49 -04:00
irq.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
memory_map.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
misc.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
nmi.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
sys_io.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00