Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fdf191a9
Commit
fdf191a9
authored
Aug 27, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Define correct address space limits for x86_64.
parent
5e30947d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
virtual.c
dlls/ntdll/virtual.c
+7
-0
No files found.
dlls/ntdll/virtual.c
View file @
fdf191a9
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment