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
6a5bb5d7
Commit
6a5bb5d7
authored
Dec 07, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Implement KiUserApcDispatcher for ARM64EC.
parent
9e0f2e3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
signal_arm64ec.c
dlls/ntdll/signal_arm64ec.c
+19
-3
No files found.
dlls/ntdll/signal_arm64ec.c
View file @
6a5bb5d7
...
...
@@ -1684,11 +1684,27 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
/*******************************************************************
* KiUserApcDispatcher (NTDLL.@)
*/
void
WINAPI
KiUserApcDispatcher
(
CONTEXT
*
context
,
ULONG_PTR
arg1
,
ULONG_PTR
arg2
,
ULONG_PTR
arg3
,
PNTAPCFUNC
apc
)
void
WINAPI
dispatch_apc
(
void
(
CALLBACK
*
func
)(
ULONG_PTR
,
ULONG_PTR
,
ULONG_PTR
,
CONTEXT
*
),
ULONG_PTR
arg1
,
ULONG_PTR
arg2
,
ULONG_PTR
arg3
,
BOOLEAN
alertable
,
ARM64_NT_CONTEXT
*
arm_ctx
)
{
FIXME
(
"not implemented
\n
"
);
CONTEXT
context
;
context_arm_to_x64
(
&
context
,
arm_ctx
);
func
(
arg1
,
arg2
,
arg3
,
&
context
);
NtContinue
(
&
context
,
alertable
);
}
__ASM_GLOBAL_FUNC
(
"#KiUserApcDispatcher"
,
__ASM_SEH
(
".seh_context
\n\t
"
)
"nop
\n\t
"
__ASM_SEH
(
".seh_stackalloc 0x30
\n\t
"
)
__ASM_SEH
(
".seh_endprologue
\n\t
"
)
"ldp x0, x1, [sp]
\n\t
"
/* func, arg1 */
"ldp x2, x3, [sp, #0x10]
\n\t
"
/* arg2, arg3 */
"ldr w4, [sp, #0x20]
\n\t
"
/* alertable */
"add x5, sp, #0x30
\n\t
"
/* context */
"bl "
__ASM_NAME
(
"dispatch_apc"
)
"
\n\t
"
"brk #1"
)
/*******************************************************************
...
...
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