mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user