[FAST486]

Update the CPL when performing an interrupt.


svn path=/trunk/; revision=65300
This commit is contained in:
Aleksandar Andrejevic 2014-11-06 20:47:31 +00:00
parent 5b5d036b35
commit 3e9aa4c71d

View file

@ -310,8 +310,11 @@ Fast486InterruptInternal(PFAST486_STATE State,
goto Cleanup;
}
/* Switch to the new privilege level */
State->Cpl = GET_SEGMENT_RPL(SegmentSelector);
/* Check the new (higher) privilege level */
switch (GET_SEGMENT_RPL(SegmentSelector))
switch (State->Cpl)
{
case 0:
{