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

ntdll: Fix KiUserCallbackDispatcher on arm.

This was broken in 78c2b7dfe2.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2024-01-23 15:21:20 +02:00 committed by Alexandre Julliard
parent 4f95ad1ad1
commit f6b66e4f87

View file

@ -592,7 +592,7 @@ __ASM_GLOBAL_FUNC( KiUserCallbackDispatcher,
"mrc p15, 0, r3, c13, c0, 2\n\t" /* NtCurrentTeb() */
"ldr r3, [r3, 0x30]\n\t" /* peb */
"ldr r3, [r3, 0x2c]\n\t" /* peb->KernelCallbackTable */
"ldr ip, [r3, r2, lsl #3]\n\t"
"ldr ip, [r3, r2, lsl #2]\n\t"
"blx ip\n\t"
".seh_handler " __ASM_NAME("user_callback_handler") ", %except\n\t"
#else