fwait fix (aka DOS Navigator fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@187 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
cf25629d1e
commit
a37904dd86
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user