coreboot/payloads/libpayload/arch/arm
Gabe Black 8e7014f24a libpayload: ARM: Keep track of the CPSR when exceptions happen.
Use the SPSR to extract and inject CPSR values when an exception happens and
pass that information to exception hooks.

The register structure GDB expects when using its remote protocol has a spot
for the CPSR.

BUG=None
TEST=Built and booted on link, nyan.
BRANCH=None

Change-Id: Id950fb09d72fb0f81e4eef2489c0849ce5dd8aca
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://chromium-review.googlesource.com/180253
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
2014-02-13 04:21:44 +00:00
..
asmlib.h arm: Update mem* functions to newer versions 2014-01-14 03:29:44 +00:00
cache.c arm: Redesign, clarify and clean up cache related code 2014-01-29 21:33:35 +00:00
Config.in libpayload: arm: Pass the coreboot table location to the payload. 2014-02-11 05:30:59 +00:00
coreboot.c libpayload: arm: Pass the coreboot table location to the payload. 2014-02-11 05:30:59 +00:00
cpu.S arm: Fix up new cache flush algorithm and replace dcache_*_all() with it 2014-01-29 04:58:17 +00:00
dummy_media.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
exception.c libpayload: ARM: Keep track of the CPSR when exceptions happen. 2014-02-13 04:21:44 +00:00
exception_asm.S libpayload: ARM: Keep track of the CPSR when exceptions happen. 2014-02-13 04:21:44 +00:00
head.S libpayload: arm: Pass the coreboot table location to the payload. 2014-02-11 05:30:59 +00:00
libpayload.ldscript ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
main.c libpayload: Make it possible to install callbacks for particular exceptions. 2014-02-13 04:15:59 +00:00
Makefile.inc arm: Fix up new cache flush algorithm and replace dcache_*_all() with it 2014-01-29 04:58:17 +00:00
memcpy.S arm: Put assembly functions into separate sections 2014-01-29 21:33:41 +00:00
memmove.S arm: Put assembly functions into separate sections 2014-01-29 21:33:41 +00:00
memset.S arm: Put assembly functions into separate sections 2014-01-29 21:33:41 +00:00
sysinfo.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
timer.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
util.S arm: Move libgcc assembly macros to arch/asm.h 2014-01-14 03:29:41 +00:00
virtual.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00