diff options
author | 2014-10-23 16:49:58 +0000 | |
---|---|---|
committer | 2014-10-23 16:49:58 +0000 | |
commit | 2946f0c175ecd1ad3c595c2cdae4d28a1d9f2d73 (patch) | |
tree | 44afc72964ad42b4176780d225f3534e046660ba | |
parent | Remove networks(5) support. (diff) | |
download | wireguard-openbsd-2946f0c175ecd1ad3c595c2cdae4d28a1d9f2d73.tar.xz wireguard-openbsd-2946f0c175ecd1ad3c595c2cdae4d28a1d9f2d73.zip |
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.
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 12 |
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)); |