3331 |
if (!s->vm86) { |
if (!s->vm86) { |
3332 |
if (s->cpl <= s->iopl) { |
if (s->cpl <= s->iopl) { |
3333 |
gen_op_sti(); |
gen_op_sti(); |
3334 |
|
s->is_jmp = 2; /* give a chance to handle pending irqs */ |
3335 |
} else { |
} else { |
3336 |
gen_exception(s, EXCP0D_GPF, pc_start - s->cs_base); |
gen_exception(s, EXCP0D_GPF, pc_start - s->cs_base); |
3337 |
} |
} |
3338 |
} else { |
} else { |
3339 |
if (s->iopl == 3) { |
if (s->iopl == 3) { |
3340 |
gen_op_sti(); |
gen_op_sti(); |
3341 |
|
s->is_jmp = 2; /* give a chance to handle pending irqs */ |
3342 |
} else { |
} else { |
3343 |
gen_exception(s, EXCP0D_GPF, pc_start - s->cs_base); |
gen_exception(s, EXCP0D_GPF, pc_start - s->cs_base); |
3344 |
} |
} |