Commit 8f278f89 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Make APCs alertable by default on ARM platforms.

parent 0b3d3ad2
...@@ -1035,10 +1035,11 @@ NTSTATUS call_user_apc_dispatcher( CONTEXT *context, ULONG_PTR arg1, ULONG_PTR a ...@@ -1035,10 +1035,11 @@ NTSTATUS call_user_apc_dispatcher( CONTEXT *context, ULONG_PTR arg1, ULONG_PTR a
NtGetContextThread( GetCurrentThread(), &stack->context ); NtGetContextThread( GetCurrentThread(), &stack->context );
stack->context.R0 = status; stack->context.R0 = status;
} }
stack->func = func; stack->func = func;
stack->args[0] = arg1; stack->args[0] = arg1;
stack->args[1] = arg2; stack->args[1] = arg2;
stack->args[2] = arg3; stack->args[2] = arg3;
stack->alertable = TRUE;
frame->sp = (DWORD)stack; frame->sp = (DWORD)stack;
frame->pc = (DWORD)pKiUserApcDispatcher; frame->pc = (DWORD)pKiUserApcDispatcher;
......
...@@ -754,10 +754,11 @@ NTSTATUS call_user_apc_dispatcher( CONTEXT *context, ULONG_PTR arg1, ULONG_PTR a ...@@ -754,10 +754,11 @@ NTSTATUS call_user_apc_dispatcher( CONTEXT *context, ULONG_PTR arg1, ULONG_PTR a
NtGetContextThread( GetCurrentThread(), &stack->context ); NtGetContextThread( GetCurrentThread(), &stack->context );
stack->context.X0 = status; stack->context.X0 = status;
} }
stack->func = func; stack->func = func;
stack->args[0] = arg1; stack->args[0] = arg1;
stack->args[1] = arg2; stack->args[1] = arg2;
stack->args[2] = arg3; stack->args[2] = arg3;
stack->alertable = TRUE;
frame->sp = (ULONG64)stack; frame->sp = (ULONG64)stack;
frame->pc = (ULONG64)pKiUserApcDispatcher; frame->pc = (ULONG64)pKiUserApcDispatcher;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment