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
c8ecc359
Commit
c8ecc359
authored
Nov 17, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Build the syscall argument array from the generated syscall list.
parent
f799f6f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
loader.c
dlls/ntdll/unix/loader.c
+0
-1
syscall.c
dlls/win32u/syscall.c
+10
-1
No files found.
dlls/ntdll/unix/loader.c
View file @
c8ecc359
...
...
@@ -945,7 +945,6 @@ NTSTATUS ntdll_init_syscalls( SYSTEM_SERVICE_TABLE *table, void **dispatcher )
NtTerminateProcess
(
GetCurrentProcess
(),
STATUS_INVALID_PARAMETER
);
}
info
->
dispatcher
=
__wine_syscall_dispatcher
;
memcpy
(
table
->
ArgumentTable
,
(
USHORT
*
)(
info
+
1
)
+
info
->
limit
,
table
->
ServiceLimit
);
KeServiceDescriptorTable
[
info
->
id
]
=
*
table
;
return
STATUS_SUCCESS
;
}
...
...
dlls/win32u/syscall.c
View file @
c8ecc359
...
...
@@ -47,7 +47,16 @@ static void * const syscalls[] =
#undef SYSCALL_ENTRY
};
static
BYTE
arguments
[
ARRAY_SIZE
(
syscalls
)];
static
BYTE
arguments
[
ARRAY_SIZE
(
syscalls
)]
=
{
#define SYSCALL_ENTRY(id,name,args) args,
#ifdef _WIN64
ALL_SYSCALLS64
#else
ALL_SYSCALLS32
#endif
#undef SYSCALL_ENTRY
};
static
SYSTEM_SERVICE_TABLE
syscall_table
=
{
...
...
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