From 4796f5e9bc5efc46d0149bae57b530afd26ff65d Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 19 Jan 2004 23:46:39 +0000 Subject: interrupt to conforming segment fix (QNX boot fix) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@573 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-i386/helper.c b/target-i386/helper.c index 0711698270..320e09a758 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -686,6 +686,7 @@ static void do_interrupt_protected(int intno, int is_int, int error_code, sp_mask = get_sp_mask(env->segs[R_SS].flags); ssp = env->segs[R_SS].base; esp = ESP; + dpl = cpl; } else { raise_exception_err(EXCP0D_GPF, selector & 0xfffc); new_stack = 0; /* avoid warning */ -- cgit v1.2.3