diff options
-rw-r--r-- | sys/arch/powerpc64/powerpc64/machdep.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/powerpc64/machdep.c b/sys/arch/powerpc64/powerpc64/machdep.c index 482f08c1e04..c96cee66c58 100644 --- a/sys/arch/powerpc64/powerpc64/machdep.c +++ b/sys/arch/powerpc64/powerpc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.50 2020/07/13 22:37:37 kettenis Exp $ */ +/* $OpenBSD: machdep.c,v 1.51 2020/07/14 20:52:44 kettenis Exp $ */ /* * Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org> @@ -579,6 +579,9 @@ cpu_startup(void) printf("%s", version); + printf("real mem = %lu (%luMB)\n", ptoa(physmem), + ptoa(physmem)/1024/1024); + /* * Allocate a submap for exec arguments. This map effectively * limits the number of processes exec'ing at any time. @@ -587,7 +590,6 @@ cpu_startup(void) exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr, 16 * NCARGS, VM_MAP_PAGEABLE, FALSE, NULL); - /* * Allocate a submap for physio. */ @@ -599,6 +601,9 @@ cpu_startup(void) */ bufinit(); + printf("avail mem = %lu (%luMB)\n", ptoa(uvmexp.free), + ptoa(uvmexp.free)/1024/1024); + /* Remap the FDT. */ pa = trunc_page(fdt_pa); epa = round_page(fdt_pa + fdt_size); |