zephyr/include
Andrew Boie e09a04f068 arm: fix exception handling
For exceptions where we are just going to abort the current thread, we
need to exit handler mode properly so that PendSV can run and perform a
context switch. For ARM architecture this means that the fatal error
handling code path can indeed return if we were 1) in handler mode and
2) only wish to abort the current thread.

Fixes a very long-standing bug where a thread that generates an
exception, and should only abort the thread, instead takes down the
entire system.

Issue: ZEP-2052
Change-Id: Ib356a34a6fda2e0f8aff39c4b3270efceb81e54d
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-04-22 01:08:07 +00:00
..
arch arm: fix exception handling 2017-04-22 01:08:07 +00:00
bluetooth Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
crypto Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
debug kconfig: fixed Kconfig name in comments 2017-04-10 16:07:09 +00:00
display Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
drivers Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
fs license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
linker Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
logging Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
misc Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
net net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
shell license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
toolchain toolchain: don't define __stack outside C code 2017-04-20 16:01:17 +00:00
usb Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
zephyr Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
adc.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
aio_comparator.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
atomic.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
cache.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
clock_control.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
console.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
counter.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
crc16.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
device.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
disk_access.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
dma.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
eth.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
flash.h Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
fs.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
gpio.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
i2c.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
init.h kernel: remove deprecated init levels 2017-04-07 17:45:34 +00:00
ipm.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
irq.h spell: fix comment typos: /include 2017-04-19 00:41:25 +00:00
irq_offload.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
kernel_version.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
linker-defs.h Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
linker-tool-gcc.h spell: fix comment typos: /include 2017-04-19 00:41:25 +00:00
linker-tool.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
pinmux.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
power.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
pwm.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
random.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
rtc.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
section_tags.h section_tags.h: Remove unused security_frdm_k64f_section 2017-02-17 22:20:53 +00:00
sections.h gen_isr_tables: New static interrupt build mechanism 2017-02-11 01:27:58 +00:00
sensor.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
shared_irq.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
spi.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
sw_isr_table.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
sys_clock.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
sys_io.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
toolchain.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
uart.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
watchdog.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
zephyr.h kernel: remove legacy.h and MDEF support 2017-04-19 10:59:35 -05:00