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
4fcf20d1
Commit
4fcf20d1
authored
Jun 30, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move part of the PE image mapping code into virtual_map_section().
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
64731a8e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
virtual.c
dlls/ntdll/unix/virtual.c
+0
-0
mapping.c
server/mapping.c
+5
-1
trace.c
server/trace.c
+1
-0
No files found.
dlls/ntdll/unix/virtual.c
View file @
4fcf20d1
This diff is collapsed.
Click to expand it.
server/mapping.c
View file @
4fcf20d1
...
...
@@ -1075,7 +1075,11 @@ DECL_HANDLER(map_view)
view
->
fd
=
!
is_fd_removable
(
mapping
->
fd
)
?
(
struct
fd
*
)
grab_object
(
mapping
->
fd
)
:
NULL
;
view
->
committed
=
mapping
->
committed
?
(
struct
ranges
*
)
grab_object
(
mapping
->
committed
)
:
NULL
;
view
->
shared
=
mapping
->
shared
?
(
struct
shared_map
*
)
grab_object
(
mapping
->
shared
)
:
NULL
;
if
(
mapping
->
flags
&
SEC_IMAGE
)
view
->
image
=
mapping
->
image
;
if
(
mapping
->
flags
&
SEC_IMAGE
)
{
view
->
image
=
mapping
->
image
;
if
(
view
->
base
!=
mapping
->
image
.
base
)
set_error
(
STATUS_IMAGE_NOT_AT_BASE
);
}
list_add_tail
(
&
current
->
process
->
views
,
&
view
->
entry
);
}
...
...
server/trace.c
View file @
4fcf20d1
...
...
@@ -5555,6 +5555,7 @@ static const struct
{
"HANDLE_NOT_CLOSABLE"
,
STATUS_HANDLE_NOT_CLOSABLE
},
{
"HOST_UNREACHABLE"
,
STATUS_HOST_UNREACHABLE
},
{
"ILLEGAL_FUNCTION"
,
STATUS_ILLEGAL_FUNCTION
},
{
"IMAGE_NOT_AT_BASE"
,
STATUS_IMAGE_NOT_AT_BASE
},
{
"INFO_LENGTH_MISMATCH"
,
STATUS_INFO_LENGTH_MISMATCH
},
{
"INSTANCE_NOT_AVAILABLE"
,
STATUS_INSTANCE_NOT_AVAILABLE
},
{
"INSUFFICIENT_RESOURCES"
,
STATUS_INSUFFICIENT_RESOURCES
},
...
...
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