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>
This commit is contained in:
parent
cad9e7a6ec
commit
dc197619cd
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue