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
ec2e266c
Commit
ec2e266c
authored
Mar 06, 2024
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Implement KiUserExceptionDispatcher on ARM64EC.
parent
e6ce5d5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
signal_arm64ec.c
dlls/ntdll/signal_arm64ec.c
+15
-6
No files found.
dlls/ntdll/signal_arm64ec.c
View file @
ec2e266c
...
...
@@ -1674,19 +1674,28 @@ NTSTATUS call_seh_handlers( EXCEPTION_RECORD *rec, CONTEXT *orig_context )
/*******************************************************************
* KiUserExceptionDispatcher (NTDLL.@)
*/
NTSTATUS
WINAPI
KiUserExceptionDispatcher
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
context
)
static
NTSTATUS
__attribute__
((
used
))
dispatch_exception_arm64ec
(
EXCEPTION_RECORD
*
rec
,
ARM64_NT_CONTEXT
*
arm_ctx
)
{
FIXME
(
"not implemented
\n
"
);
return
STATUS_INVALID_DISPOSITION
;
ARM64EC_NT_CONTEXT
context
;
context_arm_to_x64
(
&
context
,
arm_ctx
);
return
dispatch_exception
(
rec
,
&
context
.
AMD64_Context
);
}
__ASM_GLOBAL_FUNC
(
"#KiUserExceptionDispatcher"
,
".seh_context
\n\t
"
".seh_endprologue
\n\t
"
"add x0, sp, #0x390
\n\t
"
/* rec (context + 1) */
"mov x1, sp
\n\t
"
/* context */
"bl dispatch_exception_arm64ec
\n\t
"
"brk #1"
)
/*******************************************************************
* KiUserApcDispatcher (NTDLL.@)
*/
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
)
static
void
__attribute__
((
used
))
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
)
{
ARM64EC_NT_CONTEXT
context
;
...
...
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