[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).


svn path=/trunk/; revision=67479
This commit is contained in:
Aleksandar Andrejevic 2015-04-29 20:41:41 +00:00
parent 5891e0a021
commit 1160180478

View file

@ -625,7 +625,7 @@ Fast486LoadSegmentInternal(PFAST486_STATE State,
if (!GdtEntry.Present)
{
Fast486ExceptionWithErrorCode(State, Exception, Selector);
Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_NP, Selector);
return FALSE;
}
@ -679,7 +679,7 @@ Fast486LoadSegmentInternal(PFAST486_STATE State,
if (!GdtEntry.Present)
{
Fast486ExceptionWithErrorCode(State, Exception, Selector);
Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_NP, Selector);
return FALSE;
}
}