Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
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
Alexey Alyaev
wine
Commits
8347c686
Commit
8347c686
authored
3 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
wow64: Add thunks for the Unix library syscalls.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
57281794
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dlls/wow64/syscall.c
+13
-0
13 additions, 0 deletions
dlls/wow64/syscall.c
dlls/wow64/syscall.h
+1
-0
1 addition, 0 deletions
dlls/wow64/syscall.h
dlls/wow64/virtual.c
+5
-0
5 additions, 0 deletions
dlls/wow64/virtual.c
with
19 additions
and
0 deletions
dlls/wow64/syscall.c
+
13
−
0
View file @
8347c686
...
...
@@ -262,6 +262,19 @@ NTSTATUS WINAPI wow64___wine_dbg_write( UINT *args )
}
/**********************************************************************
* wow64___wine_unix_call
*/
NTSTATUS
WINAPI
wow64___wine_unix_call
(
UINT
*
args
)
{
unixlib_handle_t
handle
=
get_ulong64
(
&
args
);
unsigned
int
code
=
get_ulong
(
&
args
);
void
*
args_ptr
=
get_ptr
(
&
args
);
return
__wine_unix_call
(
handle
,
code
,
args_ptr
);
}
/**********************************************************************
* wow64_wine_server_call
*/
...
...
This diff is collapsed.
Click to expand it.
dlls/wow64/syscall.h
+
1
−
0
View file @
8347c686
...
...
@@ -245,6 +245,7 @@
SYSCALL_ENTRY( NtWriteVirtualMemory ) \
SYSCALL_ENTRY( NtYieldExecution ) \
SYSCALL_ENTRY( __wine_dbg_write ) \
SYSCALL_ENTRY( __wine_unix_call ) \
SYSCALL_ENTRY( wine_nt_to_unix_file_name ) \
SYSCALL_ENTRY( wine_server_call ) \
SYSCALL_ENTRY( wine_server_fd_to_handle ) \
...
...
This diff is collapsed.
Click to expand it.
dlls/wow64/virtual.c
+
5
−
0
View file @
8347c686
...
...
@@ -364,8 +364,13 @@ NTSTATUS WINAPI wow64_NtQueryVirtualMemory( UINT *args )
}
case
MemoryWineImageInitFuncs
:
case
MemoryWineUnixWow64Funcs
:
return
STATUS_INVALID_INFO_CLASS
;
case
MemoryWineUnixFuncs
:
status
=
NtQueryVirtualMemory
(
handle
,
addr
,
MemoryWineUnixWow64Funcs
,
ptr
,
len
,
&
res_len
);
break
;
default:
FIXME
(
"unsupported class %u
\n
"
,
class
);
return
STATUS_INVALID_INFO_CLASS
;
...
...
This diff is collapsed.
Click to expand it.
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