mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:12:59 +00:00
- Enabled interrupts on page faults also for V86 mode.
svn path=/trunk/; revision=11845
This commit is contained in:
parent
63e5456684
commit
ae233008f1
1 changed files with 5 additions and 4 deletions
|
@ -546,6 +546,11 @@ KiTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr)
|
||||||
cr2 = Ke386GetCr2();
|
cr2 = Ke386GetCr2();
|
||||||
Tf->DebugPointer = (PVOID)cr2;
|
Tf->DebugPointer = (PVOID)cr2;
|
||||||
|
|
||||||
|
if (ExceptionNr == 14 && Tf->Eflags & FLAG_IF)
|
||||||
|
{
|
||||||
|
Ke386EnableInterrupts();
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If this was a V86 mode exception then handle it specially
|
* If this was a V86 mode exception then handle it specially
|
||||||
*/
|
*/
|
||||||
|
@ -574,10 +579,6 @@ KiTrapHandler(PKTRAP_FRAME Tf, ULONG ExceptionNr)
|
||||||
{
|
{
|
||||||
KEBUGCHECKWITHTF(ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY, 0, 0, 0, 0, Tf);
|
KEBUGCHECKWITHTF(ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY, 0, 0, 0, 0, Tf);
|
||||||
}
|
}
|
||||||
if (Tf->Eflags & FLAG_IF)
|
|
||||||
{
|
|
||||||
Ke386EnableInterrupts();
|
|
||||||
}
|
|
||||||
Status = MmPageFault(Tf->Cs&0xffff,
|
Status = MmPageFault(Tf->Cs&0xffff,
|
||||||
&Tf->Eip,
|
&Tf->Eip,
|
||||||
&Tf->Eax,
|
&Tf->Eax,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue