Commit 4796f5e9 authored by bellard's avatar bellard
Browse files

interrupt to conforming segment fix (QNX boot fix)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@573 c046a42c-6fe2-441c-8c8c-71466251a162
parent 3504fe17
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment