diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index b7362d82901c..7a4a001e2c47 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -239,7 +239,8 @@ cpu_startup(dummy) #ifdef PERFMON perfmon_init(); #endif - printf("real memory = %ld (%ldK bytes)\n", alpha_ptob(Maxmem), alpha_ptob(Maxmem) / 1024); + printf("real memory = %ld (%ld MB)\n", alpha_ptob(Maxmem), + alpha_ptob(Maxmem) / 1048576); /* * Display any holes after the first chunk of extended memory. @@ -258,8 +259,8 @@ cpu_startup(dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %ld (%ldK bytes)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1024); + printf("avail memory = %ld (%ld MB)\n", ptoa(cnt.v_free_count), + ptoa(cnt.v_free_count) / 1048576); /* * Set up buffers, so they can be used to read disk labels. diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index fb6c1b267d81..4e09e324ea66 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -199,8 +199,8 @@ cpu_startup(dummy) #ifdef PERFMON perfmon_init(); #endif - printf("real memory = %u (%uK bytes)\n", ptoa(Maxmem), - ptoa(Maxmem) / 1024); + printf("real memory = %u (%u MB)\n", ptoa(Maxmem), + ptoa(Maxmem) / 1048576); /* * Display any holes after the first chunk of extended memory. */ @@ -220,8 +220,8 @@ cpu_startup(dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %u (%uK bytes)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1024); + printf("avail memory = %u (%u MB)\n", ptoa(cnt.v_free_count), + ptoa(cnt.v_free_count) / 1048576); /* * Set up buffers, so they can be used to read disk labels. diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index fb6c1b267d81..4e09e324ea66 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -199,8 +199,8 @@ cpu_startup(dummy) #ifdef PERFMON perfmon_init(); #endif - printf("real memory = %u (%uK bytes)\n", ptoa(Maxmem), - ptoa(Maxmem) / 1024); + printf("real memory = %u (%u MB)\n", ptoa(Maxmem), + ptoa(Maxmem) / 1048576); /* * Display any holes after the first chunk of extended memory. */ @@ -220,8 +220,8 @@ cpu_startup(dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %u (%uK bytes)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1024); + printf("avail memory = %u (%u MB)\n", ptoa(cnt.v_free_count), + ptoa(cnt.v_free_count) / 1048576); /* * Set up buffers, so they can be used to read disk labels. diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index d1d7c28f98e0..df7dc4ab245d 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -169,7 +169,8 @@ cpu_startup(dummy) #ifdef PERFMON perfmon_init(); #endif - printf("real memory = %ld (%ldK bytes)\n", ia64_ptob(Maxmem), ia64_ptob(Maxmem) / 1024); + printf("real memory = %ld (%ld MB)\n", ia64_ptob(Maxmem), + ia64_ptob(Maxmem) / 1048576); /* * Display any holes after the first chunk of extended memory. @@ -188,8 +189,8 @@ cpu_startup(dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %ld (%ldK bytes)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1024); + printf("avail memory = %ld (%ld MB)\n", ptoa(cnt.v_free_count), + ptoa(cnt.v_free_count) / 1048576); if (fpswa_interface == NULL) printf("Warning: no FPSWA package supplied\n"); diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 183cf65b887c..14b0439e76cc 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -219,8 +219,8 @@ cpu_startup(dummy) #ifdef PERFMON perfmon_init(); #endif - printf("real memory = %u (%uK bytes)\n", ptoa(Maxmem), - ptoa(Maxmem) / 1024); + printf("real memory = %u (%u MB)\n", ptoa(Maxmem), + ptoa(Maxmem) / 1048576); /* * Display any holes after the first chunk of extended memory. */ @@ -240,8 +240,8 @@ cpu_startup(dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %u (%uK bytes)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1024); + printf("avail memory = %u (%u MB)\n", ptoa(cnt.v_free_count), + ptoa(cnt.v_free_count) / 1048576); /* * Set up buffers, so they can be used to read disk labels. diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 183cf65b887c..14b0439e76cc 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -219,8 +219,8 @@ cpu_startup(dummy) #ifdef PERFMON perfmon_init(); #endif - printf("real memory = %u (%uK bytes)\n", ptoa(Maxmem), - ptoa(Maxmem) / 1024); + printf("real memory = %u (%u MB)\n", ptoa(Maxmem), + ptoa(Maxmem) / 1048576); /* * Display any holes after the first chunk of extended memory. */ @@ -240,8 +240,8 @@ cpu_startup(dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %u (%uK bytes)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1024); + printf("avail memory = %u (%u MB)\n", ptoa(cnt.v_free_count), + ptoa(cnt.v_free_count) / 1048576); /* * Set up buffers, so they can be used to read disk labels. diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 1df450df26aa..a14d96622de6 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -186,8 +186,8 @@ cpu_startup(void *dummy) #ifdef PERFMON perfmon_init(); #endif - printf("real memory = %ld (%ldK bytes)\n", ptoa(Maxmem), - ptoa(Maxmem) / 1024); + printf("real memory = %ld (%ld MB)\n", ptoa(Maxmem), + ptoa(Maxmem) / 1048576); /* * Display any holes after the first chunk of extended memory. @@ -207,8 +207,8 @@ cpu_startup(void *dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %ld (%ldK bytes)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1024); + printf("avail memory = %ld (%ld MB)\n", ptoa(cnt.v_free_count), + ptoa(cnt.v_free_count) / 1048576); /* * Set up buffers, so they can be used to read disk labels. diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c index 1df450df26aa..a14d96622de6 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/machdep.c @@ -186,8 +186,8 @@ cpu_startup(void *dummy) #ifdef PERFMON perfmon_init(); #endif - printf("real memory = %ld (%ldK bytes)\n", ptoa(Maxmem), - ptoa(Maxmem) / 1024); + printf("real memory = %ld (%ld MB)\n", ptoa(Maxmem), + ptoa(Maxmem) / 1048576); /* * Display any holes after the first chunk of extended memory. @@ -207,8 +207,8 @@ cpu_startup(void *dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %ld (%ldK bytes)\n", ptoa(cnt.v_free_count), - ptoa(cnt.v_free_count) / 1024); + printf("avail memory = %ld (%ld MB)\n", ptoa(cnt.v_free_count), + ptoa(cnt.v_free_count) / 1048576); /* * Set up buffers, so they can be used to read disk labels.