Mohammed Gamal wrote:
Save eflags in exec_in_big_real_mode(). This is needed to test instructions that
modify the eflags register.


Applied, thanks.

@@ -82,6 +82,10 @@ static void exec_in_big_real_mode(const struct regs *inregs,
                "test_insn: . = . + 16\n\t"
                "test_insn_end: \n\t"
+ /* Save EFLAGS in outregs*/
+               "pushfl \n\t"
+               "popl %[save]+36 \n\t"
+
                "xchg %%eax, %[save]+0 \n\t"
                "xchg %%ebx, %[save]+4 \n\t"
                "xchg %%ecx, %[save]+8 \n\t"

I moved this after the register restoration, since the test may modify %sp.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to