From bfdccb6363b8d3c968c40cfba5629960550fef51 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 17 Dec 2003 05:46:38 +0000 Subject: in the real mem print do not include reserved for prom into used by openbsd --- sys/arch/hppa/hppa/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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), -- cgit v1.2.3