[coreboot-gerrit] Patch merged into coreboot/master: 5f6afca libpayload: ARM: Don't leave alignment checking on after the exception test

gerrit at coreboot.org gerrit at coreboot.org
Tue Dec 3 02:35:57 CET 2013


the following patch was just integrated into master:
commit 5f6afca48cc72055a81a5c2230101616c5f14db2
Author: Gabe Black <gabeblack at google.com>
Date:   Wed Jun 19 20:48:06 2013 -0700

    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 at google.com>
    Reviewed-on: https://gerrit.chromium.org/gerrit/59372
    Reviewed-by: Stefan Reinauer <reinauer at google.com>
    Commit-Queue: Gabe Black <gabeblack at chromium.org>
    Tested-by: Gabe Black <gabeblack at chromium.org>


See http://review.coreboot.org/4255 for details.

-gerrit



More information about the coreboot-gerrit mailing list