Skip to contentSkip to conversation

Error in helper_lret_protected

PATCH New Paul Brook 1 participant 1 message Mar 7, 2005

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

PATCH 1/1 Error in helper_lret_protected

helper_lret_protected incorrectly sets CC_OP. This looks like a copy/paste error from helper_iret_protected.

Paul

Index: helper.c
===================================================================
RCS file: /cvsroot/qemu/qemu/target-i386/helper.c,v retrieving revision 1.43

helper.c 7 Mar 2005 13:28:19 -0000 renamed from helper.c 3 Mar 2005 01:14:55 -0000 1.43 +0 -1
diff -u -p -r1.43 helper.c
@@ -2118,7 +2141,6 @@ void helper_lret_protected(int shift, in
     helper_ret_protected(shift, 0, addend);
 #ifdef USE_KQEMU
     if (kqemu_is_ok(env)) {
-        CC_OP = CC_OP_EFLAGS;
         env->exception_index = -1;
         cpu_loop_exit();
     }