Fixed loaded CPL on interrupt, Coherent now works.
This commit is contained in:
parent
ac9b5a9927
commit
d1422eee39
1 changed files with 1 additions and 1 deletions
|
|
@ -1866,9 +1866,9 @@ void pmodeint(int num, int soft)
|
||||||
x86gpf(NULL,seg&~3);
|
x86gpf(NULL,seg&~3);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
do_seg_load(&_cs, segdat2);
|
||||||
CS=(seg&~3)|CPL;
|
CS=(seg&~3)|CPL;
|
||||||
// pclog("New CS = %04X\n",CS);
|
// pclog("New CS = %04X\n",CS);
|
||||||
do_seg_load(&_cs, segdat2);
|
|
||||||
if (CPL==3 && oldcpl!=3) flushmmucache_cr3();
|
if (CPL==3 && oldcpl!=3) flushmmucache_cr3();
|
||||||
if (type>0x800) pc=segdat[0]|(segdat[3]<<16);
|
if (type>0x800) pc=segdat[0]|(segdat[3]<<16);
|
||||||
else pc=segdat[0];
|
else pc=segdat[0];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue