mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
ntdll: Set the initial process context on ARM.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9e093936e2
commit
5e3cf758d1
1 changed files with 6 additions and 1 deletions
|
@ -1011,7 +1011,12 @@ void signal_init_process( CONTEXT *context, LPTHREAD_START_ROUTINE entry )
|
|||
if (sigaction( SIGTRAP, &sig_act, NULL ) == -1) goto error;
|
||||
#endif
|
||||
|
||||
/* FIXME: set the initial context */
|
||||
/* set the initial context */
|
||||
context->ContextFlags = CONTEXT_FULL;
|
||||
context->R0 = (DWORD)kernel32_start_process;
|
||||
context->R1 = (DWORD)entry;
|
||||
context->Sp = (DWORD)NtCurrentTeb()->Tib.StackBase;
|
||||
context->Pc = (DWORD)call_thread_entry_point;
|
||||
return;
|
||||
|
||||
error:
|
||||
|
|
Loading…
Reference in a new issue