Author: aandrejevic
Date: Wed Nov 5 00:27:43 2014
New Revision: 65261
URL:
http://svn.reactos.org/svn/reactos?rev=65261&view=rev
Log:
[FAST486]
Fix the paging exception code.
Modified:
trunk/reactos/lib/fast486/common.inl
Modified: trunk/reactos/lib/fast486/common.inl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/common.inl?rev…
==============================================================================
--- trunk/reactos/lib/fast486/common.inl [iso-8859-1] (original)
+++ trunk/reactos/lib/fast486/common.inl [iso-8859-1] Wed Nov 5 00:27:43 2014
@@ -175,7 +175,7 @@
/* Exception */
Fast486ExceptionWithErrorCode(State,
FAST486_EXCEPTION_PF,
- TableEntry.Value & 0x07);
+ TableEntry.Present | (State->Cpl ? 0x04
: 0));
return FALSE;
}
@@ -244,7 +244,7 @@
/* Exception */
Fast486ExceptionWithErrorCode(State,
FAST486_EXCEPTION_PF,
- TableEntry.Value & 0x07);
+ TableEntry.Present | 0x02 | (State->Cpl
? 0x04 : 0));
return FALSE;
}