diff options
author | Furquan Shaikh <furquan@google.com> | 2015-07-06 13:13:32 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-09 00:09:40 +0200 |
commit | dc197619cd64104d30e5155e0cfec332ec4bce07 (patch) | |
tree | a4b4628d2f086acce60fb05c8c114ca847c32c2a /src/arch/arm64/armv8 | |
parent | cad9e7a6ecf2db58ba30c49847851248d4712110 (diff) |
arm64: Print sp value when dumping registers for exception
BUG=None
BRANCH=None
TEST=Compiles successfully, sp verified during exception
Change-Id: Idbeb93b1dbf163e2d86cd42369941ff98a3d2d9e
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: ca73b40f0248497143b6ab42bd0f5cc6cddf7713
Original-Change-Id: I38ee403200acb0e3d9015231c274568930b58987
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/283542
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Trybot-Ready: Furquan Shaikh <furquan@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/10842
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/arm64/armv8')
-rw-r--r-- | src/arch/arm64/armv8/exception.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/arm64/armv8/exception.c b/src/arch/arm64/armv8/exception.c index a633e3afb8..afbaf6da78 100644 --- a/src/arch/arm64/armv8/exception.c +++ b/src/arch/arm64/armv8/exception.c @@ -68,6 +68,7 @@ static void print_regs(struct exc_state *exc_state) printk(BIOS_DEBUG, "ESR = 0x%016llx\n", elx_esr); printk(BIOS_DEBUG, "SPSR = 0x%08llx\n", elx->spsr); printk(BIOS_DEBUG, "FAR = 0x%016llx\n", elx_far); + printk(BIOS_DEBUG, "SP = 0x%016llx\n", regs->sp); for (i = X0_INDEX; i < XMAX_INDEX; i++) printk(BIOS_DEBUG, "X%02d = 0x%016llx\n", i, regs->x[i]); } |