aboutsummaryrefslogtreecommitdiff
path: root/target-i386/exec.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-23 23:09:40 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-23 23:09:40 +0000
commit4136f33c7e3c034b17bb0032fa5d4297ae2f317a (patch)
treee56d20e93e79ef871bb47d9654d664377ab2cec1 /target-i386/exec.h
parent6dca2016fc0cca49ce866b7f2fcfffe011c1f496 (diff)
downloadqemu-4136f33c7e3c034b17bb0032fa5d4297ae2f317a.zip
qemu-4136f33c7e3c034b17bb0032fa5d4297ae2f317a.tar.gz
qemu-4136f33c7e3c034b17bb0032fa5d4297ae2f317a.tar.bz2
fixed eflags IF/IOPL update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@476 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/exec.h')
-rw-r--r--target-i386/exec.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/target-i386/exec.h b/target-i386/exec.h
index dd11a3a..f6c717e 100644
--- a/target-i386/exec.h
+++ b/target-i386/exec.h
@@ -512,11 +512,6 @@ static inline uint32_t compute_eflags(void)
return env->eflags | cc_table[CC_OP].compute_all() | (DF & DF_MASK);
}
-#define FL_UPDATE_MASK32 (TF_MASK | AC_MASK | ID_MASK)
-
-#define FL_UPDATE_CPL0_MASK (TF_MASK | IF_MASK | IOPL_MASK | NT_MASK | \
- RF_MASK | AC_MASK | ID_MASK)
-
/* NOTE: CC_OP must be modified manually to CC_OP_EFLAGS */
static inline void load_eflags(int eflags, int update_mask)
{