pmodeiret(): move the second cpl_override after read_descriptor() because the flag is reset by the function
This commit is contained in:
@@ -1811,8 +1811,8 @@ pmodeiret(int is32)
|
|||||||
}
|
}
|
||||||
addr += gdt.base;
|
addr += gdt.base;
|
||||||
}
|
}
|
||||||
cpl_override = 1;
|
|
||||||
read_descriptor(addr, segdat, segdat32, 1);
|
read_descriptor(addr, segdat, segdat32, 1);
|
||||||
|
cpl_override = 1;
|
||||||
op_taskswitch286(seg, segdat, segdat[2] & 0x0800);
|
op_taskswitch286(seg, segdat, segdat[2] & 0x0800);
|
||||||
cpl_override = 0;
|
cpl_override = 0;
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user