zephyr/include/arch/arm
Ioannis Glaropoulos bb41d56ced arch: arm: do not add CODE_UNREACHABLE in Z_ARCH_EXCEPT
For ARM, Z_ARCH_EXCEPT triggers an SVC to induce a system error.
This code block may be inlined, so, if we want to return from
this error DIRECTLY to thread mode, e.g. if the system error
occurred in ISR context and we are not aborting the current
thread, we must instruct the compiler that the execution
may continue after the inlined SVC. Therefore, we must remove
the CODE_UNREACHABLE statements.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-10-24 10:12:08 -07:00
..
cortex_m linker: add custom align size to reduce alignment memory wasting 2019-09-19 21:38:31 -04:00
cortex_r linker: cxx: Include .gcc_except_table sections 2019-09-19 09:26:42 -05:00
arch.h arch/arm: rearrange for standard use of extern "C" 2019-08-20 00:49:15 +02:00
asm_inline.h arch: arm: Move header files to common location 2019-08-02 23:37:03 +03:00
asm_inline_gcc.h kernel: add architecture interface headers 2019-10-11 13:30:46 -07:00
error.h arch: arm: do not add CODE_UNREACHABLE in Z_ARCH_EXCEPT 2019-10-24 10:12:08 -07:00
exc.h arm: arch code naming cleanup 2019-10-04 10:46:23 +02:00
irq.h kernel: add architecture interface headers 2019-10-11 13:30:46 -07:00
misc.h kernel: add architecture interface headers 2019-10-11 13:30:46 -07:00
nmi.h arm: arch code naming cleanup 2019-10-04 10:46:23 +02:00
syscall.h arch: arm: userspace: add ip and sp to clobber 2019-10-18 14:20:32 -05:00