coreboot/src/cpu
Julius Werner d0db2f5e93 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!).

BUG=None
TEST=Cause a data_abort in Coreboot or depthcharge. Marvel at the
beautifully displayed stack dump that helps you debug the abort.

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>
2013-09-23 19:28:41 +00:00
..
amd copy_and_run: drop boot_complete parameter 2013-05-10 11:55:19 -07:00
armltd qemu-armv7 CPU: Move Kconfig code into CPU directory 2013-06-20 15:51:33 -07:00
intel model_106cx: don't blindly set Kconfig settings 2013-09-20 00:52:23 +00:00
samsung armv7: Support stack dump after exceptions 2013-09-23 19:28:41 +00:00
via copy_and_run: drop boot_complete parameter 2013-05-10 11:55:19 -07:00
x86 Enable CAR_MIGRATION on Exynos 5250 and 5420 2013-07-30 17:08:47 -07:00
Kconfig Enable CAR_MIGRATION on Exynos 5250 and 5420 2013-07-30 17:08:47 -07:00
Makefile.inc cpu: Add CPU microcode file to cbfs with 16-byte alignment 2013-06-12 06:55:42 -07:00