ntdll: Store the syscall dispatcher also in the WOW32Reserved TEB field.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b636f9816f
commit
baec5f1eca
|
@ -2542,6 +2542,7 @@ static void init_teb( TEB *teb, PEB *peb )
|
||||||
PtrToUlong( &teb64->ActivationContextStack.FrameListCache );
|
PtrToUlong( &teb64->ActivationContextStack.FrameListCache );
|
||||||
teb64->StaticUnicodeString.Buffer = PtrToUlong( teb64->StaticUnicodeBuffer );
|
teb64->StaticUnicodeString.Buffer = PtrToUlong( teb64->StaticUnicodeBuffer );
|
||||||
teb64->StaticUnicodeString.MaximumLength = sizeof( teb64->StaticUnicodeBuffer );
|
teb64->StaticUnicodeString.MaximumLength = sizeof( teb64->StaticUnicodeBuffer );
|
||||||
|
teb->WOW32Reserved = __wine_syscall_dispatcher;
|
||||||
#endif
|
#endif
|
||||||
teb->Peb = peb;
|
teb->Peb = peb;
|
||||||
teb->Tib.Self = &teb->Tib;
|
teb->Tib.Self = &teb->Tib;
|
||||||
|
|
Loading…
Reference in New Issue