Author: aandrejevic
Date: Wed Apr 29 20:41:41 2015
New Revision: 67479
URL:
http://svn.reactos.org/svn/reactos?rev=67479&view=rev
Log:
[FAST486]
When a segment isn't present, the exception should always be #NP (unless
it was the stack segment, in which case the exception should be #SS).
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 Apr 29 20:41:41 2015
@@ -625,7 +625,7 @@
if (!GdtEntry.Present)
{
- Fast486ExceptionWithErrorCode(State, Exception, Selector);
+ Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_NP, Selector);
return FALSE;
}
@@ -679,7 +679,7 @@
if (!GdtEntry.Present)
{
- Fast486ExceptionWithErrorCode(State, Exception, Selector);
+ Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_NP,
Selector);
return FALSE;
}
}