coreboot-kgpe-d16/payloads/libpayload/arch/armv7
Gabe Black 6149776e73 libpayload: ARM: Don't leave alignment checking on after the exception test
Currently, the exception handling code on ARM in libpayload turns on alignment
checks as an easy way to generate an exception for testing purposes. It was
leaving it on which disabled unaligned accesses for other, unlreated code
running later. This change adjusts the code so the original value of the
alignment bit is restored after the test exception.

Built and booted into depthcharge on pit with an unaligned accesses added
after the call to exception_init in the depthcharge's main. Before this
change, the access caused an exception. After this change, the access
completed successfully.

Change-Id: If92cab3cc8eabca7c5b0560ce88a8796a27fe3b2
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/59372
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/4255
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
2013-12-03 02:35:56 +01:00
..
Config.in libpayload: Make the region to scan for the cb tables configurable. 2013-12-03 02:35:44 +01:00
Makefile.inc armv7: import new cache maintenance API from coreboot 2013-03-30 19:48:42 +01:00
assembler.h
cache.c armv7: import updated cache/MMU stuff from coreboot 2013-11-25 23:01:03 +01:00
coreboot.c libpayload: Make the region to scan for the cb tables configurable. 2013-12-03 02:35:44 +01:00
exception.c libpayload: ARM: Don't leave alignment checking on after the exception test 2013-12-03 02:35:56 +01:00
exception_asm.S libpayload: Catch exceptions and print out an error message. 2013-03-04 22:39:09 +01:00
head.S libpayload: Move over to the payload's stack during startup 2013-03-13 23:41:23 +01:00
libpayload.ldscript
main.c libpayload: Catch exceptions and print out an error message. 2013-03-04 22:39:09 +01: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
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