diff options
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2019-07-29 13:34:07 +0100 |
---|---|---|
committer | Paul Beesley <paul.beesley@arm.com> | 2019-08-15 14:23:27 +0000 |
commit | 6c6a470fc1c2e1a516214f1f6dbe00ef045d1d0f (patch) | |
tree | f6dfe7d0aed3c91a9d0700075b9b06e01d3894f4 /common/aarch64/debug.S | |
parent | 2102198ce8b9e51c2febea89c796de2863b63303 (diff) | |
download | trusted-firmware-a-6c6a470fc1c2e1a516214f1f6dbe00ef045d1d0f.tar.gz |
AArch64: Align crash reporting output
This patch modifies crash reporting for AArch64 to provide
aligned output of register dump and GIC registers.
Change-Id: I8743bf1d2d6d56086e735df43785ef28051c5fc3
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'common/aarch64/debug.S')
-rw-r--r-- | common/aarch64/debug.S | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/aarch64/debug.S b/common/aarch64/debug.S index da740ef220..ac47cbe9ef 100644 --- a/common/aarch64/debug.S +++ b/common/aarch64/debug.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -10,6 +10,7 @@ .globl asm_print_str .globl asm_print_hex + .globl asm_print_hex_bits .globl asm_assert .globl do_panic @@ -107,8 +108,11 @@ endfunc asm_print_str * Clobber: x30, x0 - x3, x5 */ func asm_print_hex - mov x3, x30 mov x5, #64 /* No of bits to convert to ascii */ + + /* Convert to ascii number of bits in x5 */ +asm_print_hex_bits: + mov x3, x30 1: sub x5, x5, #4 lsrv x0, x4, x5 |