mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ntdll: Don't clear x86-64 registers when receiving a 32-bit context.
They can still be valid if running in Wow64 mode. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e5e857c290
commit
47f59be21f
1 changed files with 0 additions and 8 deletions
|
@ -850,14 +850,6 @@ static NTSTATUS context_from_server( void *dst, const context_t *from, USHORT ma
|
|||
to->Rbx = from->integer.i386_regs.ebx;
|
||||
to->Rsi = from->integer.i386_regs.esi;
|
||||
to->Rdi = from->integer.i386_regs.edi;
|
||||
to->R8 = 0;
|
||||
to->R9 = 0;
|
||||
to->R10 = 0;
|
||||
to->R11 = 0;
|
||||
to->R12 = 0;
|
||||
to->R13 = 0;
|
||||
to->R14 = 0;
|
||||
to->R15 = 0;
|
||||
}
|
||||
if ((from->flags & SERVER_CTX_SEGMENTS) && (to_flags & CONTEXT_AMD64_SEGMENTS))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue