Author: aandrejevic Date: Mon May 11 03:31:04 2015 New Revision: 67650
URL: http://svn.reactos.org/svn/reactos?rev=67650&view=rev Log: [FAST486] In HLT, check the CPL and not CS.DPL.
Modified: trunk/reactos/lib/fast486/opcodes.c
Modified: trunk/reactos/lib/fast486/opcodes.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/opcodes.c?rev=6... ============================================================================== --- trunk/reactos/lib/fast486/opcodes.c [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/opcodes.c [iso-8859-1] Mon May 11 03:31:04 2015 @@ -853,7 +853,7 @@ }
/* 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;