diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-04-17 20:38:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-04-17 20:38:10 +0000 |
commit | d3e8c6bb7e9747ba58ff1709bfbc8096c07bccc3 (patch) | |
tree | 4293e6c691bf20befdac5f488bd3f2e81ffb68f3 | |
parent | 8d50c062d709c88b592f70eb420b52a956f86703 (diff) |
bigmem works well enough on amd64; we do not need the knob to turn it
off anymore.
ok miod
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 68e021f11dd..94cb7ba1ac4 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.138 2011/04/15 04:52:39 guenther Exp $ */ +/* $OpenBSD: machdep.c,v 1.139 2011/04/17 20:38:09 deraadt Exp $ */ /* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */ /*- @@ -1181,8 +1181,6 @@ typedef void (vector)(void); extern vector IDTVEC(osyscall); extern vector *IDTVEC(exceptions)[]; -int bigmem = 1; - void init_x86_64(paddr_t first_avail) { @@ -1267,10 +1265,6 @@ init_x86_64(paddr_t first_avail) avail_start = ACPI_TRAMPOLINE + PAGE_SIZE; #endif - /* Let us know if we're supporting > 4GB ram load */ - if (bigmem) - printf("Bigmem = %d\n", bigmem); - /* * We need to go through the BIOS memory map given, and * fill out mem_clusters and mem_cluster_cnt stuff, taking @@ -1310,14 +1304,6 @@ init_x86_64(paddr_t first_avail) continue; } - /* Crop to fit below 4GB for now */ - if (!bigmem && (e1 >= (1UL<<32))) { - printf("Ignoring %dMB above 4GB\n", (e1-(1UL<<32))>>20); - e1 = (1UL << 32) - 1; - if (s1 > e1) - continue; - } - /* Crop stuff into "640K hole" */ if (s1 < IOM_BEGIN && e1 > IOM_BEGIN) e1 = IOM_BEGIN; |