zephyr/include/arch
Andy Ross 3f5027f835 xtensa: Fix noreturn attribute on error handlers in asm2
In asm2, the machine exception handler runs in interrupt context (this
is good: it allows us to defer the test against exception type until
after we have done the stack switch and dispatched any true
interrupts), but that means that the user error handler needs to be
invoked and then return through the interrupt exit code.

So the __attribute__(__noreturn__) that it was being decorated with
was incorrect.  And actually fatal, as with gcc xtensa will crash
trying to return from a noreturn call.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-02-16 10:44:29 -05:00
..
arc arch: arc: apply the new thread stack layout 2018-02-16 12:20:16 +01:00
arm arm: mpu: nxp: Set bus master 3 to full access 2018-02-15 12:53:16 -05:00
nios2 nios2: asm_inline_gcc: fix includes 2017-11-02 13:25:01 -07:00
posix arch: native: Run Zephyr natively in a POSIX OS 2017-12-27 14:16:08 -05:00
riscv32 k_thread_abort(): assert if abort essential thread 2017-09-07 16:35:16 -07:00
x86 debug: remove DEBUG_INFO option 2018-02-12 13:58:28 -08:00
xtensa xtensa: Fix noreturn attribute on error handlers in asm2 2018-02-16 10:44:29 -05:00
cpu.h arch: native: Run Zephyr natively in a POSIX OS 2017-12-27 14:16:08 -05:00