xen/arm: Print a 64-bit number in hex from early uart
authorWei Chen <wei.chen@arm.com>
Wed, 11 May 2022 01:46:31 +0000 (09:46 +0800)
committerJulien Grall <jgrall@amazon.com>
Mon, 16 May 2022 17:10:31 +0000 (18:10 +0100)
commita250debd2a76e4af058ad611657432f0626922e3
tree11f9c3b13520922ae5bd2e0817b5de9aa58e4c7a
parent0086803a0dfb2ac80c2483cde2fbb87c8df6d254
xen/arm: Print a 64-bit number in hex from early uart

Current putn function that is using for early print
only can print low 32-bit of AArch64 register. This
will lose some important messages while debugging
with early console. For example:
(XEN) Bringing up CPU5
- CPU 0000000100000100 booting -
Will be truncated to
(XEN) Bringing up CPU5
- CPU 00000100 booting -

In this patch, we increased the print loops and shift
bits to make putn print 64-bit number.

Signed-off-by: Wei Chen <wei.chen@arm.com>
Tested-by: Jiamei Xie <jiamei.xie@arm.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/arm64/head.S