1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

ntdll: Add syscall entries for ARM64EC.

This commit is contained in:
Alexandre Julliard 2023-11-21 11:13:54 +01:00
parent 78ba84e3c5
commit 9c85c8591c
2 changed files with 1378 additions and 1 deletions

File diff suppressed because it is too large Load diff

View file

@ -226,6 +226,14 @@
"blr x16\n\t" \
"ret\n" \
"1:\t.quad " __ASM_NAME("__wine_syscall_dispatcher") )
#elif defined __arm64ec__
# define __ASM_SYSCALL_FUNC(id) \
asm( "mov x8, #%0\n\t" \
"mov x9, x30\n\t" \
"adr x16, " __ASM_NAME("__wine_syscall_dispatcher") "\n\t" \
"ldr x16, [x16]\n\t" \
"blr x16\n\t" \
"ret" :: "i" (id) )
#elif defined __x86_64__
/* Chromium depends on syscall thunks having the same form as on
* Windows. For 64-bit systems the only viable form we can emulate is