diff options
author | 2003-12-17 05:46:37 +0000 | |
---|---|---|
committer | 2003-12-17 05:46:37 +0000 | |
commit | d452f3c2e34a7c31120391c2b711bd1a2828d44e (patch) | |
tree | 3382c3d56bfe529647ef3e017077943d6eff94cc | |
parent | figure out the used prom size in probe() and pass that into attach that will map rom proper instead of a fixed size that is not enough in a generic case (diff) | |
download | wireguard-openbsd-d452f3c2e34a7c31120391c2b711bd1a2828d44e.tar.xz wireguard-openbsd-d452f3c2e34a7c31120391c2b711bd1a2828d44e.zip |
in the real mem print do not include reserved for prom into used by openbsd
-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), |