zephyr/arch/riscv32/core
Andrew Boie cdb94d6425 kernel: add k_panic() and k_oops() APIs
Unlike assertions, these APIs are active at all times. The kernel will
treat these errors in the same way as fatal CPU exceptions. Ultimately,
the policy of what to do with these errors is implemented in
_SysFatalErrorHandler.

If the archtecture supports it, a real CPU exception can be triggered
which will provide a complete register dump and PC value when the
problem occurs. This will provide more helpful information than a fake
exception stack frame (_default_esf) passed to the arch-specific exception
handling code.

Issue: ZEP-843
Change-Id: I8f136905c05bb84772e1c5ed53b8e920d24eb6fd
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-04-22 10:31:49 -04:00
..
offsets
Makefile riscv32: enable gen_isr_tables mechanism 2017-02-15 04:49:17 +00:00
cpu_idle.c kernel: remove all remaining references to nanokernel 2017-04-10 20:21:10 +00:00
fatal.c kernel: add k_panic() and k_oops() APIs 2017-04-22 10:31:49 -04:00
irq_manage.c arch: convert to using newly introduced integer sized types 2017-04-21 12:08:12 +00:00
irq_offload.c
isr.S riscv32: move riscv privileged architecture specifics within a common header file 2017-02-14 05:23:14 +00:00
prep_c.c riscv32: fixed build warnings for obj_tracing 2017-03-06 21:57:53 +01:00
reset.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
swap.S build: add _ASMLANGUAGE to all asm files 2017-01-24 13:34:51 +00:00
thread.c kernel: refactor thread_monitor_init into common code 2017-04-21 20:34:42 +00:00