mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:12:57 +00:00
parent
280c5bef1e
commit
8b7f482f2a
1 changed files with 1 additions and 1 deletions
|
@ -1258,7 +1258,7 @@ KiTrap0DHandler(IN PKTRAP_FRAME TrapFrame,
|
||||||
{
|
{
|
||||||
/* Get the IOPL and compare with the RPL mask */
|
/* Get the IOPL and compare with the RPL mask */
|
||||||
Iopl = (TrapFrame->EFlags & EFLAGS_IOPL) >> 12;
|
Iopl = (TrapFrame->EFlags & EFLAGS_IOPL) >> 12;
|
||||||
if ((TrapFrame->SegCs & RPL_MASK) == Iopl)
|
if ((TrapFrame->SegCs & RPL_MASK) > Iopl)
|
||||||
{
|
{
|
||||||
/* I/O privilege error -- check for known instructions */
|
/* I/O privilege error -- check for known instructions */
|
||||||
if ((Instruction == 0xFA) || (Instruction == 0xFB)) // CLI or STI
|
if ((Instruction == 0xFA) || (Instruction == 0xFB)) // CLI or STI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue