coreboot-kgpe-d16/payloads/libpayload/arch/armv7
Julius Werner 985ff36bee armv7: Support stack dump after exceptions
This patch enhances the armv7 exception handlers in Coreboot and
libpayload to show the correct SP and LR registers from the aborted
context, and also dump a part of the current stack. Since we cannot
access the banked registers of SVC mode from a different exception mode,
it changes Coreboot (and its payloads) to run in System mode instead. As
both modes can execute all privileged instructions, this should not have
any noticeable effect on firmware operation (please correct me if I'm
wrong!).

Change-Id: I0e04f47619e55308f7da4a3a99c9cae6ae35cc30
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/170045
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
(cherry picked from commit d0db2f5e938200e3f5899c5e1f1606ab2dd5b334)
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6538
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2014-08-10 22:18:50 +02:00
..
Config.in libpayload: Make the region to scan for the cb tables configurable. 2013-12-03 02:35:44 +01:00
Makefile.inc libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2014-08-05 18:44:08 +02:00
assembler.h libpayload: Initial ARMv7 port 2012-12-14 22:29:48 +01:00
cache.c armv7: add wrapper for DCCSW (data cache clean by set/way) 2014-08-01 19:32:20 +02:00
coreboot.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2014-08-05 18:44:08 +02:00
dummy_media.c libpayload: provide missing cbfs symbol 2014-07-31 18:32:37 +02:00
exception.c armv7: Support stack dump after exceptions 2014-08-10 22:18:50 +02:00
exception_asm.S armv7: Support stack dump after exceptions 2014-08-10 22:18:50 +02:00
head.S libpayload: Move over to the payload's stack during startup 2013-03-13 23:41:23 +01:00
libpayload.ldscript libpayload: add a ldscript for arm 2013-02-15 01:13:11 +01:00
main.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2014-08-05 18:44:08 +02:00
memcpy.S ARM: Tell the linker memset and memcpy are functions. 2013-07-10 21:49:45 +02:00
memset.S ARM: Tell the linker memset and memcpy are functions. 2013-07-10 21:49:45 +02:00
sysinfo.c libpayload: Initial ARMv7 port 2012-12-14 22:29:48 +01:00
timer.c libpayload: Generalize and redistribute timekeeping code 2013-03-14 04:53:33 +01:00
util.S libpayload: Mark "halt" as a function. 2013-03-01 16:49:41 +01:00
virtual.c libpayload: Initial ARMv7 port 2012-12-14 22:29:48 +01:00