mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
interrupt to conforming segment fix (QNX boot fix)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@573 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
3504fe171b
commit
4796f5e9bc
1 changed files with 1 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue