]> git.ipfire.org Git - thirdparty/grub.git/commit
loader/i386/linux: Correct wrong initrd address for debug
authorJeremy Szu <jeremy.szu@canonical.com>
Mon, 20 Feb 2023 23:42:51 +0000 (07:42 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 28 Feb 2023 12:24:38 +0000 (13:24 +0100)
commitcd9680219023f76a434305bc66d8ac91ec7047ae
tree38d3e226f27eac0d8719229dbbc291a5fd2f070a
parent34f281aa75bc914df71cf5cbf5d5ee1a71506fea
loader/i386/linux: Correct wrong initrd address for debug

The "addr" is used to request the memory with specific ranges but the real
loadable address come from the relocator. Thus, print the final retrieved
addresses, virtual and physical, for initrd.

On the occasion migrate to PRIxGRUB_ADDR and PRIxGRUB_SIZE format specifiers.

Signed-off-by: Jeremy Szu <jeremy.szu@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/loader/i386/linux.c