summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-10-23 16:49:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-10-23 16:49:59 +0000
commitf7b834f169134a0b0967325325158a641d5570b8 (patch)
treec72ad0101c8642efe6f0e82672752e4496cb3daf /sys
parent1111a2fdadd5b3a26661210668a2c419e282b2e9 (diff)
Revert limiting physmem to 2GB; the culprit was likely in uvm and uvm has
changed a lot in the last 5 years; verified to work on a 3GB system, in snapshots for a few weeks already.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hppa/hppa/machdep.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c
index 0b1f9d6f29b..1e90613a0bb 100644
--- a/sys/arch/hppa/hppa/machdep.c
+++ b/sys/arch/hppa/hppa/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.236 2014/09/22 12:12:23 dlg Exp $ */
+/* $OpenBSD: machdep.c,v 1.237 2014/10/23 16:49:58 miod Exp $ */
/*
* Copyright (c) 1999-2003 Michael Shalayeff
@@ -353,18 +353,8 @@ hppa_init(paddr_t start)
fdcacheall();
avail_end = trunc_page(PAGE0->imm_max_mem);
- /*
- * XXX For some reason, using any physical memory above the
- * 2GB marker causes memory corruption on PA-RISC 2.0
- * machines. Cap physical memory at 2GB for now.
- */
-#if 0
if (avail_end > SYSCALLGATE)
avail_end = SYSCALLGATE;
-#else
- if (avail_end > 0x80000000)
- avail_end = 0x80000000;
-#endif
physmem = atop(avail_end);
resvmem = atop(((vaddr_t)&kernel_text));