Display upper_mem_limit and its rounded-down value in MiB. Signed-off-by: Stefan Berger <stef...@linux.ibm.com> --- grub-core/kern/ieee1275/init.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/grub-core/kern/ieee1275/init.c b/grub-core/kern/ieee1275/init.c index 164cccb2a..72e0292a3 100644 --- a/grub-core/kern/ieee1275/init.c +++ b/grub-core/kern/ieee1275/init.c @@ -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 -- 2.25.1 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel