mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[FAST486]
In HLT, check the CPL and not CS.DPL. svn path=/trunk/; revision=67650
This commit is contained in:
parent
e4960b02d3
commit
c7f19ff4c0
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeHalt)
|
|||
}
|
||||
|
||||
/* Privileged instructions can only be executed under CPL = 0 */
|
||||
if (State->SegmentRegs[FAST486_REG_CS].Dpl != 0)
|
||||
if (Fast486GetCurrentPrivLevel(State) != 0)
|
||||
{
|
||||
Fast486Exception(State, FAST486_EXCEPTION_GP);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue