diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-12-17 05:46:38 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2003-12-17 05:46:38 +0000 |
commit | bfdccb6363b8d3c968c40cfba5629960550fef51 (patch) | |
tree | 027b384aa66236907d942e12bdc24e57b24455a7 /sys | |
parent | 692607addbeaa6028826c412c40f3780f8fb0c86 (diff) |
in the real mem print do not include reserved for prom into used by openbsd
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index 6d18c80c2a4..d710f7e79b7 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.118 2003/12/10 20:57:32 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.119 2003/12/17 05:46:37 mickey Exp $ */ /* * Copyright (c) 1999-2002 Michael Shalayeff @@ -626,7 +626,7 @@ cpu_startup(void) printf("%s\n", cpu_model); printf("real mem = %d (%d reserved for PROM, %d used by OpenBSD)\n", - ctob(totalphysmem), ctob(resvmem), ctob(physmem)); + ctob(totalphysmem), ctob(resvmem), ctob(physmem - resvmem)); size = MAXBSIZE * nbuf; if (uvm_map(kernel_map, &minaddr, round_page(size), |