Commit 32001692 authored by Avi Kivity's avatar Avi Kivity
Browse files

Load flags register before running real-mode test


Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent eacef4e2
......@@ -78,6 +78,7 @@ static void exec_in_big_real_mode(const struct regs *inregs,
"and $-2, %[tmp] \n\t"
"mov %[tmp], %%cr0 \n\t"
"pushw %[save]+36; popfw \n\t"
"xchg %%eax, %[save]+0 \n\t"
"xchg %%ebx, %[save]+4 \n\t"
"xchg %%ecx, %[save]+8 \n\t"
......
Supports Markdown
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