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
1aa2f0d1
Commit
1aa2f0d1
authored
Jun 01, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Store the PE function pointers as simple void pointers.
Their prototypes are not meaningful on the Unix side.
parent
231f1854
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
17 deletions
+16
-17
loader.c
dlls/ntdll/unix/loader.c
+8
-8
unix_private.h
dlls/ntdll/unix/unix_private.h
+8
-9
No files found.
dlls/ntdll/unix/loader.c
View file @
1aa2f0d1
...
...
@@ -104,14 +104,14 @@ static const char so_dir[] = "/aarch64-unix";
static
const
char
so_dir
[]
=
""
;
#endif
void
(
WINAPI
*
pDbgUiRemoteBreakin
)(
void
*
arg
)
=
NULL
;
NTSTATUS
(
WINAPI
*
pKiRaiseUserExceptionDispatcher
)(
void
)
=
NULL
;
NTSTATUS
(
WINAPI
*
pKiUserExceptionDispatcher
)(
EXCEPTION_RECORD
*
,
CONTEXT
*
)
=
NULL
;
void
(
WINAPI
*
pKiUserApcDispatcher
)(
CONTEXT
*
,
ULONG_PTR
,
ULONG_PTR
,
ULONG_PTR
,
PNTAPCFUNC
)
=
NULL
;
void
(
WINAPI
*
pKiUserCallbackDispatcher
)(
ULONG
,
void
*
,
ULONG
)
=
NULL
;
void
(
WINAPI
*
pLdrInitializeThunk
)(
CONTEXT
*
,
void
**
,
ULONG_PTR
,
ULONG_PTR
)
=
NULL
;
void
(
WINAPI
*
pRtlUserThreadStart
)(
PRTL_THREAD_START_ROUTINE
entry
,
void
*
arg
)
=
NULL
;
void
(
WINAPI
*
p__wine_ctrl_routine
)(
void
*
)
;
void
*
pDbgUiRemoteBreakin
=
NULL
;
void
*
pKiRaiseUserExceptionDispatcher
=
NULL
;
void
*
pKiUserExceptionDispatcher
=
NULL
;
void
*
pKiUserApcDispatcher
=
NULL
;
void
*
pKiUserCallbackDispatcher
=
NULL
;
void
*
pLdrInitializeThunk
=
NULL
;
void
*
pRtlUserThreadStart
=
NULL
;
void
*
p__wine_ctrl_routine
=
NULL
;
SYSTEM_DLL_INIT_BLOCK
*
pLdrSystemDllInitBlock
=
NULL
;
static
void
*
p__wine_syscall_dispatcher
;
...
...
dlls/ntdll/unix/unix_private.h
View file @
1aa2f0d1
...
...
@@ -121,16 +121,15 @@ static const LONG teb_offset = 0x2000;
#define FILE_USE_FILE_POINTER_POSITION ((LONGLONG)-2)
/* callbacks to PE ntdll from the Unix side */
extern
void
(
WINAPI
*
pDbgUiRemoteBreakin
)(
void
*
arg
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
(
WINAPI
*
pKiRaiseUserExceptionDispatcher
)(
void
)
DECLSPEC_HIDDEN
;
extern
NTSTATUS
(
WINAPI
*
pKiUserExceptionDispatcher
)(
EXCEPTION_RECORD
*
,
CONTEXT
*
)
DECLSPEC_HIDDEN
;
extern
void
(
WINAPI
*
pKiUserApcDispatcher
)(
CONTEXT
*
,
ULONG_PTR
,
ULONG_PTR
,
ULONG_PTR
,
PNTAPCFUNC
)
DECLSPEC_HIDDEN
;
extern
void
(
WINAPI
*
pKiUserCallbackDispatcher
)(
ULONG
,
void
*
,
ULONG
)
DECLSPEC_HIDDEN
;
extern
void
(
WINAPI
*
pLdrInitializeThunk
)(
CONTEXT
*
,
void
**
,
ULONG_PTR
,
ULONG_PTR
)
DECLSPEC_HIDDEN
;
extern
void
(
WINAPI
*
pRtlUserThreadStart
)(
PRTL_THREAD_START_ROUTINE
entry
,
void
*
arg
)
DECLSPEC_HIDDEN
;
extern
void
(
WINAPI
*
p__wine_ctrl_routine
)(
void
*
)
DECLSPEC_HIDDEN
;
extern
void
*
pDbgUiRemoteBreakin
DECLSPEC_HIDDEN
;
extern
void
*
pKiRaiseUserExceptionDispatcher
DECLSPEC_HIDDEN
;
extern
void
*
pKiUserExceptionDispatcher
DECLSPEC_HIDDEN
;
extern
void
*
pKiUserApcDispatcher
DECLSPEC_HIDDEN
;
extern
void
*
pKiUserCallbackDispatcher
DECLSPEC_HIDDEN
;
extern
void
*
pLdrInitializeThunk
DECLSPEC_HIDDEN
;
extern
void
*
pRtlUserThreadStart
DECLSPEC_HIDDEN
;
extern
void
*
p__wine_ctrl_routine
DECLSPEC_HIDDEN
;
extern
SYSTEM_DLL_INIT_BLOCK
*
pLdrSystemDllInitBlock
DECLSPEC_HIDDEN
;
extern
LONGLONG
CDECL
fast_RtlGetSystemTimePrecise
(
void
)
DECLSPEC_HIDDEN
;
struct
_FILE_FS_DEVICE_INFORMATION
;
...
...
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