zephyr/include
Andrew Boie 75caa2b084 arm: exception-assisted kernel panic/oops support
Put the reason code in r0 and make a SVC #2 call, which will be
propagated to _fatal_error_handler as an exception.

The _is_in_isr() implementation had to be tweaked a bit.  User-generated
SVC exception no longer just used for irq_offload(); just because we are
in it does not mean we are in interrupt context.  Instead, have the
irq_offload code set and clear the offload_routine global; it will be
non-NULL only if it's in use. Upcoming changes to support memory
protection (which will require system calls) will need this too.

We free up some small amount of ROM deleting _default_esf struct as it's
no longer needed.

Issue: ZEP-843
Change-Id: Ie82bd708575934cffe41e64f5c128c8704ca4e48
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-04-22 10:31:49 -04:00
..
arch arm: exception-assisted kernel panic/oops support 2017-04-22 10:31:49 -04:00
bluetooth kernel: add k_panic() and k_oops() APIs 2017-04-22 10:31:49 -04: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
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 printk: add vprintk() 2017-04-22 14:29:33 +00:00
net net: convert to using newly introduced integer sized types 2017-04-21 09:30:38 -05:00
shell
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
cache.h
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
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_offload.h
irq.h spell: fix comment typos: /include 2017-04-19 00:41:25 +00:00
kernel_version.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
kernel.h kernel: add k_panic() and k_oops() APIs 2017-04-22 10:31:49 -04: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
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
sections.h
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
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