Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
wine
Commits
61dcca5d
Commit
61dcca5d
authored
16 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
ntdll: Don't pretend that the whole address space is reserved on non-i386.
parent
a558365a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/ntdll/virtual.c
+8
-0
8 additions, 0 deletions
dlls/ntdll/virtual.c
with
8 additions
and
0 deletions
dlls/ntdll/virtual.c
+
8
−
0
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
...
...
This diff is collapsed.
Click to expand it.
Alexandre Julliard
@julliard
mentioned in commit
3ba8d6ea
·
3 years ago
mentioned in commit
3ba8d6ea
mentioned in commit 3ba8d6ea05c0c4f610c057fc2976dd263dd2b261
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment