summaryrefslogtreecommitdiff
path: root/src/mainboard/google/mistral/bootblock.c
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2024-07-25 15:31:06 +0800
committerYu-Ping Wu <yupingso@google.com>2024-08-03 02:13:30 +0000
commit6886a62132de38594a5078d5f3192ceed34576f0 (patch)
treebc3e569968096af7e3b5f1cd54d431674f674e35 /src/mainboard/google/mistral/bootblock.c
parent7d57bc8eb3b81ae5fd78de2b2dd28781ff4f3165 (diff)
arch/arm64/armv8/mmu: Improve log format
Currently we use "%p" to print the address, which results in different string lengths, depending on the value of the address. To improve readability of the printed addresses in the log, change the format to "0x%013lx", so that the length of the printed addresses will be consistent. In addition, print the level of the translation table when setting up a new table. Example log: Backing address range [0x0000000000000:0x1000000000000) with new L0 ... Mapping address range [0x0000000000000:0x0000200000000) as ... Backing address range [0x0000000000000:0x0008000000000) with new L1 ... Mapping address range [0x0000000100000:0x0000000130000) as ... Backing address range [0x0000000000000:0x0000040000000) with new L2 Backing address range [0x0000000000000:0x0000000200000) with new L3 Mapping address range [0x0000000107000:0x0000000108000) as ... Mapping address range [0x0000000200000:0x0000000300000) as ... Backing address range [0x0000000000000:0x0000000200000) with new L3 ... BUG=none TEST=emerge-geralt coreboot BRANCH=none Change-Id: Ib29c201e1b096b9c7cd750d2541923616bc858ac Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83652 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/mistral/bootblock.c')
0 files changed, 0 insertions, 0 deletions