No longer raise TS# when (CS & 0xFFF8) is zero and (CS & 0x0004) is not, fixes #4214.
This commit is contained in:
@@ -2401,7 +2401,7 @@ taskswitch286(uint16_t seg, uint16_t *segdat, int is32)
|
|||||||
ldt.base |= (readmemb(0, templ + 7) << 24);
|
ldt.base |= (readmemb(0, templ + 7) << 24);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(new_cs & 0xfff8)) {
|
if (!(new_cs & 0xfff8) && !(new_cs & 0x0004)) {
|
||||||
x86ts(NULL, 0);
|
x86ts(NULL, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user