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
47aebf67
Commit
47aebf67
authored
Jan 22, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Export KiUserCallbackDispatcherReturn.
parent
7344a124
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
0 deletions
+8
-0
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-0
ntdll_misc.h
dlls/ntdll/ntdll_misc.h
+1
-0
signal_arm.c
dlls/ntdll/signal_arm.c
+2
-0
signal_arm64.c
dlls/ntdll/signal_arm64.c
+2
-0
signal_arm64ec.c
dlls/ntdll/signal_arm64ec.c
+2
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
47aebf67
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
@ stdcall -norelay KiRaiseUserExceptionDispatcher()
@ stdcall -norelay KiRaiseUserExceptionDispatcher()
@ stdcall -norelay KiUserApcDispatcher(ptr long long long ptr)
@ stdcall -norelay KiUserApcDispatcher(ptr long long long ptr)
@ stdcall -norelay KiUserCallbackDispatcher(long ptr long)
@ stdcall -norelay KiUserCallbackDispatcher(long ptr long)
@ stdcall -norelay -arch=arm,arm64,arm64ec KiUserCallbackDispatcherReturn()
@ stdcall -norelay KiUserExceptionDispatcher(ptr ptr)
@ stdcall -norelay KiUserExceptionDispatcher(ptr ptr)
# @ stub LdrAccessOutOfProcessResource
# @ stub LdrAccessOutOfProcessResource
@ stdcall LdrAccessResource(long ptr ptr ptr)
@ stdcall LdrAccessResource(long ptr ptr ptr)
...
...
dlls/ntdll/ntdll_misc.h
View file @
47aebf67
...
@@ -57,6 +57,7 @@ extern void WINAPI LdrInitializeThunk(CONTEXT*,ULONG_PTR,ULONG_PTR,ULONG_PTR);
...
@@ -57,6 +57,7 @@ extern void WINAPI LdrInitializeThunk(CONTEXT*,ULONG_PTR,ULONG_PTR,ULONG_PTR);
extern
NTSTATUS
WINAPI
KiUserExceptionDispatcher
(
EXCEPTION_RECORD
*
,
CONTEXT
*
);
extern
NTSTATUS
WINAPI
KiUserExceptionDispatcher
(
EXCEPTION_RECORD
*
,
CONTEXT
*
);
extern
void
WINAPI
KiUserApcDispatcher
(
CONTEXT
*
,
ULONG_PTR
,
ULONG_PTR
,
ULONG_PTR
,
PNTAPCFUNC
);
extern
void
WINAPI
KiUserApcDispatcher
(
CONTEXT
*
,
ULONG_PTR
,
ULONG_PTR
,
ULONG_PTR
,
PNTAPCFUNC
);
extern
void
WINAPI
KiUserCallbackDispatcher
(
ULONG
,
void
*
,
ULONG
);
extern
void
WINAPI
KiUserCallbackDispatcher
(
ULONG
,
void
*
,
ULONG
);
extern
void
WINAPI
KiUserCallbackDispatcherReturn
(
void
);
extern
void
(
WINAPI
*
pWow64PrepareForException
)(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
);
extern
void
(
WINAPI
*
pWow64PrepareForException
)(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
);
#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__)
#if defined(__x86_64__) || defined(__arm__) || defined(__aarch64__)
...
...
dlls/ntdll/signal_arm.c
View file @
47aebf67
...
@@ -589,6 +589,8 @@ __ASM_GLOBAL_FUNC( KiUserCallbackDispatcher,
...
@@ -589,6 +589,8 @@ __ASM_GLOBAL_FUNC( KiUserCallbackDispatcher,
"ldr r1, [sp, #0x04]
\n\t
"
/* len */
"ldr r1, [sp, #0x04]
\n\t
"
/* len */
"ldr r2, [sp, #0x08]
\n\t
"
/* id */
"ldr r2, [sp, #0x08]
\n\t
"
/* id */
"bl "
__ASM_NAME
(
"dispatch_user_callback"
)
"
\n\t
"
"bl "
__ASM_NAME
(
"dispatch_user_callback"
)
"
\n\t
"
".globl "
__ASM_NAME
(
"KiUserCallbackDispatcherReturn"
)
"
\n
"
__ASM_NAME
(
"KiUserCallbackDispatcherReturn"
)
":
\n\t
"
"mov r2, r0
\n\t
"
/* status */
"mov r2, r0
\n\t
"
/* status */
"mov r1, #0
\n\t
"
/* ret_len */
"mov r1, #0
\n\t
"
/* ret_len */
"mov r0, r1
\n\t
"
/* ret_ptr */
"mov r0, r1
\n\t
"
/* ret_ptr */
...
...
dlls/ntdll/signal_arm64.c
View file @
47aebf67
...
@@ -615,6 +615,8 @@ __ASM_GLOBAL_FUNC( KiUserCallbackDispatcher,
...
@@ -615,6 +615,8 @@ __ASM_GLOBAL_FUNC( KiUserCallbackDispatcher,
"ldr x0, [sp]
\n\t
"
/* args */
"ldr x0, [sp]
\n\t
"
/* args */
"ldp w1, w2, [sp, #0x08]
\n\t
"
/* len, id */
"ldp w1, w2, [sp, #0x08]
\n\t
"
/* len, id */
"bl "
__ASM_NAME
(
"dispatch_user_callback"
)
"
\n\t
"
"bl "
__ASM_NAME
(
"dispatch_user_callback"
)
"
\n\t
"
".globl "
__ASM_NAME
(
"KiUserCallbackDispatcherReturn"
)
"
\n
"
__ASM_NAME
(
"KiUserCallbackDispatcherReturn"
)
":
\n\t
"
"mov x2, x0
\n\t
"
/* status */
"mov x2, x0
\n\t
"
/* status */
"mov x1, #0
\n\t
"
/* ret_len */
"mov x1, #0
\n\t
"
/* ret_len */
"mov x0, x1
\n\t
"
/* ret_ptr */
"mov x0, x1
\n\t
"
/* ret_ptr */
...
...
dlls/ntdll/signal_arm64ec.c
View file @
47aebf67
...
@@ -1726,6 +1726,8 @@ __ASM_GLOBAL_FUNC( "#KiUserCallbackDispatcher",
...
@@ -1726,6 +1726,8 @@ __ASM_GLOBAL_FUNC( "#KiUserCallbackDispatcher",
"ldr x0, [sp]
\n\t
"
/* args */
"ldr x0, [sp]
\n\t
"
/* args */
"ldp w1, w2, [sp, #0x08]
\n\t
"
/* len, id */
"ldp w1, w2, [sp, #0x08]
\n\t
"
/* len, id */
"bl "
__ASM_NAME
(
"dispatch_user_callback"
)
"
\n\t
"
"bl "
__ASM_NAME
(
"dispatch_user_callback"
)
"
\n\t
"
".globl
\"
#KiUserCallbackDispatcherReturn
\"\n
"
"
\"
#KiUserCallbackDispatcherReturn
\"
:
\n\t
"
"mov x2, x0
\n\t
"
/* status */
"mov x2, x0
\n\t
"
/* status */
"mov x1, #0
\n\t
"
/* ret_len */
"mov x1, #0
\n\t
"
/* ret_len */
"mov x0, x1
\n\t
"
/* ret_ptr */
"mov x0, x1
\n\t
"
/* ret_ptr */
...
...
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