summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-14 21:23:38 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2008-01-14 21:23:38 (GMT)
commitdba6dd60cc25013be23d1b7ec2576b866c2be4da (patch)
tree2325fcb1e81c434c1e40e7c26c225f1f99712458
parent41783a5a205f5d21572e087af838135247ff9726 (diff)
downloadlpsm-dba6dd60cc25013be23d1b7ec2576b866c2be4da.zip
lpsm-dba6dd60cc25013be23d1b7ec2576b866c2be4da.tar.gz
lpsm-dba6dd60cc25013be23d1b7ec2576b866c2be4da.tar.bz2
lpsm-dba6dd60cc25013be23d1b7ec2576b866c2be4da.tar.xz
x86-64: all current Linuxes have full 47-bit address space
Switch the x86-64 mapping address from 0x3f_0000_0000 to 0x3800_0000_0000, allowing for a 64 TB database.
-rw-r--r--sysdep/x86_64.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sysdep/x86_64.h b/sysdep/x86_64.h
index 31c183f..7a81bff 100644
--- a/sysdep/x86_64.h
+++ b/sysdep/x86_64.h
@@ -1,12 +1,11 @@
-#ident "$Id$"
/* ----------------------------------------------------------------------- *
*
- * Copyright 2000-2001 H. Peter Anvin - All Rights Reserved
+ * Copyright 2000-2008 H. Peter Anvin - All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, Inc.,
- * 59 Temple Place Ste 330, Boston MA 02111-1307, USA, version 2.1,
+ * 51 Franklin St, Fifth Floor, Boston MA 02110-1301, USA; version 2.1,
* incorporated herein by reference.
*
* ----------------------------------------------------------------------- */
@@ -21,7 +20,4 @@
#include "sysdep/64bit.h"
-/* This is where we map the database file - must be constant */
-/**** FIXME: This is probably going to break when the x86-64 kernel
- gets a full 47-bit userspace ****/
-#define ARENA_ADDRESS ((void *)0x3f00000000UL)
+#define ARENA_ADDRESS ((void *)0x380000000000UL)