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
ae976eec
Commit
ae976eec
authored
Oct 16, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Use .seh handler in RtlUserThreadStart on ARM64.
parent
943e16de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
signal_arm64.c
dlls/ntdll/signal_arm64.c
+11
-12
No files found.
dlls/ntdll/signal_arm64.c
View file @
ae976eec
...
@@ -1528,18 +1528,17 @@ USHORT WINAPI RtlCaptureStackBackTrace( ULONG skip, ULONG count, PVOID *buffer,
...
@@ -1528,18 +1528,17 @@ USHORT WINAPI RtlCaptureStackBackTrace( ULONG skip, ULONG count, PVOID *buffer,
/***********************************************************************
/***********************************************************************
* RtlUserThreadStart (NTDLL.@)
* RtlUserThreadStart (NTDLL.@)
*/
*/
void
WINAPI
RtlUserThreadStart
(
PRTL_THREAD_START_ROUTINE
entry
,
void
*
arg
)
__ASM_GLOBAL_FUNC
(
RtlUserThreadStart
,
{
"stp x29, x30, [sp, #-16]!
\n\t
"
__TRY
__ASM_SEH
(
".seh_save_fplr_x 16
\n\t
"
)
{
__ASM_SEH
(
".seh_endprologue
\n\t
"
)
pBaseThreadInitThunk
(
0
,
(
LPTHREAD_START_ROUTINE
)
entry
,
arg
);
"adr x8, "
__ASM_NAME
(
"pBaseThreadInitThunk"
)
"
\n\t
"
}
"ldr x8, [x8]
\n\t
"
__EXCEPT
(
call_unhandled_exception_filter
)
"mov x2, x1
\n\t
"
{
"mov x1, x0
\n\t
"
NtTerminateProcess
(
GetCurrentProcess
(),
GetExceptionCode
()
);
"mov x0, #0
\n\t
"
}
"blr x8
\n\t
"
__ENDTRY
__ASM_SEH
(
".seh_handler "
__ASM_NAME
(
"call_unhandled_exception_handler"
)
", @except"
)
)
}
/******************************************************************
/******************************************************************
* LdrInitializeThunk (NTDLL.@)
* LdrInitializeThunk (NTDLL.@)
...
...
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