summaryrefslogtreecommitdiffstats
path: root/sys/pc98/i386
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-11-09 16:19:14 +0000
committerdes <des@FreeBSD.org>2002-11-09 16:19:14 +0000
commit4e2288959e58c32c44523d601c8afb0d640bcabe (patch)
treec0db91834881bdd067933aeaa388a0c616ff0e18 /sys/pc98/i386
parent533541c47bc98b118c55a2c646188e129abde3b8 (diff)
downloadFreeBSD-src-4e2288959e58c32c44523d601c8afb0d640bcabe.zip
FreeBSD-src-4e2288959e58c32c44523d601c8afb0d640bcabe.tar.gz
Print real / avail memory in megabytes rather than kilobytes.
Diffstat (limited to 'sys/pc98/i386')
-rw-r--r--sys/pc98/i386/machdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 183cf65..14b0439 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.
OpenPOWER on IntegriCloud