Module: wine Branch: master Commit: fdf191a9e0a43daa5049542a49917bc6e1f5567b URL: http://source.winehq.org/git/wine.git/?a=commit;h=fdf191a9e0a43daa5049542a49...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Aug 27 19:46:45 2009 +0200
ntdll: Define correct address space limits for x86_64.
---
dlls/ntdll/virtual.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c index 77e880a..dc9559e 100644 --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -122,6 +122,13 @@ static RTL_CRITICAL_SECTION csVirtual = { &critsect_debug, -1, 0, 0, 0, 0 }; static void *address_space_limit = (void *)0xc0000000; /* top of the total available address space */ static void *user_space_limit = (void *)0x7fff0000; /* top of the user address space */ static void *working_set_limit = (void *)0x7fff0000; /* top of the current working set */ +#elif defined(__x86_64__) +# define page_mask 0xfff +# define page_shift 12 +# define page_size 0x1000 +static void *address_space_limit = (void *)0x7fffffff0000; +static void *user_space_limit = (void *)0x7fffffff0000; +static void *working_set_limit = (void *)0x7fffffff0000; #else static UINT page_shift; static UINT_PTR page_size;