Based on @rbernon's work in !1088, with additional ARM support and
some cleanups.
--
v2: ntdll: Remove the signal_exit_thread wrapper.
ntdll: Get rid of the thread exit frame on ARM.
ntdll: Get rid of the thread exit frame on ARM64.
ntdll: Get rid of the thread exit frame on x86-64.
ntdll: Get rid of the thread exit frame on i386.
ntdll: Switch to the kernel stack to abort a thread on ARM.
ntdll: Switch to the kernel stack to abort a thread on ARM64.
ntdll: Switch to the kernel stack to abort a thread on x86-64.
ntdll: Switch to the kernel stack to abort a thread on i386.
ntdll: Connect syscall frames across user callbacks on ARM.
ntdll: Connect syscall frames across user callbacks on ARM64.
ntdll: Connect syscall frames across user callbacks on x86-64.
This merge request has too many patches to be relayed via email.
Please visit the URL below to see the contents of the merge request.
https://gitlab.winehq.org/wine/wine/-/merge_requests/4445