eflags fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@153 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2003-05-10 21:39:42 +00:00
parent 288426fe3c
commit b8bf3e3aac

View File

@ -125,7 +125,7 @@ int main(int argc, char **argv)
r->es = seg; r->es = seg;
r->fs = seg; r->fs = seg;
r->gs = seg; r->gs = seg;
r->eflags = (IF_MASK | IOPL_MASK); r->eflags = VIF_MASK;
/* put return code */ /* put return code */
set_bit((uint8_t *)&ctx.int_revectored, 0x21); set_bit((uint8_t *)&ctx.int_revectored, 0x21);