Author: aandrejevic
Date: Thu Nov 6 20:47:31 2014
New Revision: 65300
URL:
http://svn.reactos.org/svn/reactos?rev=65300&view=rev
Log:
[FAST486]
Update the CPL when performing an interrupt.
Modified:
trunk/reactos/lib/fast486/common.c
Modified: trunk/reactos/lib/fast486/common.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/common.c?rev=6…
==============================================================================
--- trunk/reactos/lib/fast486/common.c [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/common.c [iso-8859-1] Thu Nov 6 20:47:31 2014
@@ -310,8 +310,11 @@
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:
{