mirror of
https://github.com/reactos/reactos.git
synced 2025-05-22 10:35:54 +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:
parent
5891e0a021
commit
1160180478
1 changed files with 2 additions and 2 deletions
|
@ -625,7 +625,7 @@ Fast486LoadSegmentInternal(PFAST486_STATE State,
|
||||||
|
|
||||||
if (!GdtEntry.Present)
|
if (!GdtEntry.Present)
|
||||||
{
|
{
|
||||||
Fast486ExceptionWithErrorCode(State, Exception, Selector);
|
Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_NP, Selector);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -679,7 +679,7 @@ Fast486LoadSegmentInternal(PFAST486_STATE State,
|
||||||
|
|
||||||
if (!GdtEntry.Present)
|
if (!GdtEntry.Present)
|
||||||
{
|
{
|
||||||
Fast486ExceptionWithErrorCode(State, Exception, Selector);
|
Fast486ExceptionWithErrorCode(State, FAST486_EXCEPTION_NP, Selector);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue