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
2dda6a28
Commit
2dda6a28
authored
Nov 20, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Generate syscall entry points from the C code with asm macros.
parent
48a54598
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
Makefile.in
dlls/win32u/Makefile.in
+1
-1
main.c
dlls/win32u/main.c
+16
-0
No files found.
dlls/win32u/Makefile.in
View file @
2dda6a28
...
...
@@ -6,7 +6,7 @@ IMPORTS = ntdll winecrt0
UNIX_CFLAGS
=
$(FREETYPE_CFLAGS)
$(FONTCONFIG_CFLAGS)
UNIX_LIBS
=
$(CARBON_LIBS)
$(APPKIT_LIBS)
$(PTHREAD_LIBS)
-lm
EXTRADLLFLAGS
=
-nodefaultlibs
-Wb
,--syscall-table,1
EXTRADLLFLAGS
=
-nodefaultlibs
SOURCES
=
\
bitblt.c
\
...
...
dlls/win32u/main.c
View file @
2dda6a28
...
...
@@ -26,11 +26,27 @@
#include "winbase.h"
#include "ntgdi.h"
#include "wine/unixlib.h"
#include "wine/asm.h"
#include "win32syscalls.h"
void
*
__wine_syscall_dispatcher
=
NULL
;
static
unixlib_handle_t
win32u_handle
;
/*******************************************************************
* syscalls
*/
#ifdef _WIN64
#define SYSCALL_ENTRY(id,name,args) __ASM_SYSCALL_FUNC( id + 0x1000, name )
ALL_SYSCALLS64
#else
#define SYSCALL_ENTRY(id,name,args) __ASM_SYSCALL_FUNC( id + 0x1000, name, args )
DEFINE_SYSCALL_HELPER32
()
ALL_SYSCALLS32
#endif
#undef SYSCALL_ENTRY
void
__cdecl
__wine_spec_unimplemented_stub
(
const
char
*
module
,
const
char
*
function
)
{
EXCEPTION_RECORD
record
;
...
...
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