aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-25 23:10:30 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-25 23:10:30 +0000
commita37904dd8676be177d9303733a7f0b19a859bf38 (patch)
treebf84b262b5fe4982e0e27c0ba547ce0001e3374d
parentcf25629d1eafe17cc789b2c5ce73e5c9ef986435 (diff)
downloadqemu-a37904dd8676be177d9303733a7f0b19a859bf38.zip
qemu-a37904dd8676be177d9303733a7f0b19a859bf38.tar.gz
qemu-a37904dd8676be177d9303733a7f0b19a859bf38.tar.bz2
fwait fix (aka DOS Navigator fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@187 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--translate-i386.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/translate-i386.c b/translate-i386.c
index 9ef7a3b..359fe61 100644
--- a/translate-i386.c
+++ b/translate-i386.c
@@ -112,7 +112,6 @@ extern int loglevel;
#define PREFIX_LOCK 0x04
#define PREFIX_DATA 0x08
#define PREFIX_ADR 0x10
-#define PREFIX_FWAIT 0x20
typedef struct DisasContext {
/* current insn context */
@@ -1440,9 +1439,6 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
case 0x67:
prefixes |= PREFIX_ADR;
goto next_byte;
- case 0x9b:
- prefixes |= PREFIX_FWAIT;
- goto next_byte;
}
if (prefixes & PREFIX_DATA)
@@ -3256,6 +3252,8 @@ long disas_insn(DisasContext *s, uint8_t *pc_start)
/* misc */
case 0x90: /* nop */
break;
+ case 0x9b: /* fwait */
+ break;
case 0xcc: /* int3 */
gen_exception(s, EXCP03_INT3, s->pc - s->cs_base);
break;