Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
61dcca5d
Commit
61dcca5d
authored
Apr 06, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Don't pretend that the whole address space is reserved on non-i386.
parent
a558365a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
virtual.c
dlls/ntdll/virtual.c
+8
-0
No files found.
dlls/ntdll/virtual.c
View file @
61dcca5d
...
...
@@ -2089,10 +2089,18 @@ NTSTATUS WINAPI NtQueryVirtualMemory( HANDLE process, LPCVOID addr,
if
(
!
wine_mmap_enum_reserved_areas
(
get_free_mem_state_callback
,
info
,
0
))
{
/* not in a reserved area at all, pretend it's allocated */
#ifdef __i386__
info
->
State
=
MEM_RESERVE
;
info
->
Protect
=
PAGE_NOACCESS
;
info
->
AllocationProtect
=
PAGE_NOACCESS
;
info
->
Type
=
MEM_PRIVATE
;
#else
info
->
State
=
MEM_FREE
;
info
->
Protect
=
PAGE_NOACCESS
;
info
->
AllocationBase
=
0
;
info
->
AllocationProtect
=
0
;
info
->
Type
=
0
;
#endif
}
}
else
...
...
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