mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
[FAST486]
In HLT, check the CPL and not CS.DPL. svn path=/trunk/; revision=67650
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user