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
d7add382
Commit
d7add382
authored
Aug 11, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make __wine_unix_call() WINAPI to follow syscall conventions.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
66883670
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
loader.c
dlls/ntdll/unix/loader.c
+1
-1
winternl.h
include/winternl.h
+1
-1
No files found.
dlls/ntdll/ntdll.spec
View file @
d7add382
...
...
@@ -1625,7 +1625,7 @@
@ cdecl -syscall wine_server_handle_to_fd(long long ptr ptr)
# Unix interface
@
cdec
l -syscall __wine_unix_call(int64 long ptr)
@
stdcal
l -syscall __wine_unix_call(int64 long ptr)
@ cdecl __wine_set_unix_funcs(long ptr)
@ cdecl __wine_init_unix_lib(long long ptr ptr)
@ stdcall __wine_ctrl_routine(ptr)
...
...
dlls/ntdll/unix/loader.c
View file @
d7add382
...
...
@@ -1141,7 +1141,7 @@ static NTSTATUS CDECL init_unix_lib( void *module, DWORD reason, const void *ptr
/***********************************************************************
* __wine_unix_call
*/
NTSTATUS
CDECL
__wine_unix_call
(
unixlib_handle_t
handle
,
unsigned
int
code
,
void
*
args
)
NTSTATUS
WINAPI
__wine_unix_call
(
unixlib_handle_t
handle
,
unsigned
int
code
,
void
*
args
)
{
return
((
unixlib_entry_t
*
)(
UINT_PTR
)
handle
)[
code
](
args
);
}
...
...
include/winternl.h
View file @
d7add382
...
...
@@ -4617,7 +4617,7 @@ typedef UINT64 unixlib_handle_t;
/* Wine internal functions */
extern
NTSTATUS
CDECL
__wine_init_unix_lib
(
HMODULE
module
,
DWORD
reason
,
const
void
*
ptr_in
,
void
*
ptr_out
);
extern
NTSTATUS
CDECL
__wine_unix_call
(
unixlib_handle_t
handle
,
unsigned
int
code
,
void
*
args
);
extern
NTSTATUS
WINAPI
__wine_unix_call
(
unixlib_handle_t
handle
,
unsigned
int
code
,
void
*
args
);
/* The thread information for 16-bit threads */
/* NtCurrentTeb()->SubSystemTib points to this */
...
...
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