kern/ieee1275/init/ppc64: Display upper_mem_limit when debugging

Display upper_mem_limit and its rounded-down value in MiB.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
Stefan Berger 2023-11-30 09:17:24 -05:00 committed by Daniel Kiper
parent 5f8e091b6a
commit 17c68472d1

View File

@ -454,6 +454,9 @@ grub_regions_claim (grub_uint64_t addr, grub_uint64_t len,
check_kernel_dump (&upper_mem_limit);
grub_dprintf ("ieee1275", "upper_mem_limit is at %llx (%lld MiB)\n",
upper_mem_limit, upper_mem_limit >> 20);
/*
* we order these cases to prefer higher addresses and avoid some
* splitting issues