summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-03 03:25:47 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-02-03 03:25:47 +0000
commitc3bb1e1e567a4e9e22101cd7b716481b6bdea75d (patch)
treedbd13b47636f657308ec37f8b9354c52ee1368a2 /sys/arch/hppa
parentcbf6721f2e292c94c41e5327f75f478b26522956 (diff)
restore hpt size computation, does not break things as i thought
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/machdep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index d792dbf3f01..15f916585d7 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.52 2002/02/02 21:10:56 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.53 2002/02/03 03:25:46 mickey Exp $ */
/*
* Copyright (c) 1999-2002 Michael Shalayeff
@@ -366,8 +366,7 @@ hppa_init(start)
resvmem = ((vaddr_t)&kernel_text) / NBPG;
/* calculate HPT size */
- /* for (hptsize = 256; hptsize < totalphysmem; hptsize *= 2); */
-hptsize=256; /* XXX one page for now */
+ for (hptsize = 256; hptsize < totalphysmem; hptsize *= 2);
hptsize *= 16; /* sizeof(hpt_entry) */
if (pdc_call((iodcio_t)pdc, 0, PDC_TLB, PDC_TLB_INFO, &pdc_hwtlb) &&