ntdll: Make APCs alertable by default on ARM platforms.

This commit is contained in:
Alexandre Julliard 2024-02-13 21:08:26 +01:00
parent 0b3d3ad2b7
commit 8f278f89df
2 changed files with 10 additions and 8 deletions

View file

@ -1035,10 +1035,11 @@ NTSTATUS call_user_apc_dispatcher( CONTEXT *context, ULONG_PTR arg1, ULONG_PTR a
NtGetContextThread( GetCurrentThread(), &stack->context );
stack->context.R0 = status;
}
stack->func = func;
stack->args[0] = arg1;
stack->args[1] = arg2;
stack->args[2] = arg3;
stack->func = func;
stack->args[0] = arg1;
stack->args[1] = arg2;
stack->args[2] = arg3;
stack->alertable = TRUE;
frame->sp = (DWORD)stack;
frame->pc = (DWORD)pKiUserApcDispatcher;

View file

@ -754,10 +754,11 @@ NTSTATUS call_user_apc_dispatcher( CONTEXT *context, ULONG_PTR arg1, ULONG_PTR a
NtGetContextThread( GetCurrentThread(), &stack->context );
stack->context.X0 = status;
}
stack->func = func;
stack->args[0] = arg1;
stack->args[1] = arg2;
stack->args[2] = arg3;
stack->func = func;
stack->args[0] = arg1;
stack->args[1] = arg2;
stack->args[2] = arg3;
stack->alertable = TRUE;
frame->sp = (ULONG64)stack;
frame->pc = (ULONG64)pKiUserApcDispatcher;