Commit 4796f5e9bc5efc46d0149bae57b530afd26ff65d
1 parent
3504fe17
interrupt to conforming segment fix (QNX boot fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@573 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
0 deletions
target-i386/helper.c
... | ... | @@ -686,6 +686,7 @@ static void do_interrupt_protected(int intno, int is_int, int error_code, |
686 | 686 | sp_mask = get_sp_mask(env->segs[R_SS].flags); |
687 | 687 | ssp = env->segs[R_SS].base; |
688 | 688 | esp = ESP; |
689 | + dpl = cpl; | |
689 | 690 | } else { |
690 | 691 | raise_exception_err(EXCP0D_GPF, selector & 0xfffc); |
691 | 692 | new_stack = 0; /* avoid warning */ | ... | ... |