coreboot/payloads/libpayload/arch
Gabe Black a1205976fa 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.

BUG=chrome-os-partner:18635
TEST=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.
BRANCH=None

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>
2013-06-20 03:09:22 -07:00
..
armv7 libpayload: ARM: Don't leave alignment checking on after the exception test. 2013-06-20 03:09:22 -07:00
x86 libpayload: add x86 ROM variable MTRR support 2013-03-29 20:10:14 +01:00
Config.in libpayload: Drop PowerPC architecture 2013-06-13 15:50:38 -07:00