mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
- Increment the PC by 4 during a DebugService-style trap, just like on x86, so that we can skip the actual instruction when we're done.
- Exit the trap after a prefetch abort. DbgPrint fully works now, and we're back where we started -- RamdiskCreateDiskDevice. svn path=/trunk/; revision=34486
This commit is contained in:
parent
a8ee5682c5
commit
a893ad634d
1 changed files with 4 additions and 2 deletions
|
@ -458,6 +458,7 @@ KiPrefetchAbortHandler(IN PKTRAP_FRAME TrapFrame)
|
|||
// Debug Service
|
||||
//
|
||||
Parameter0 = TrapFrame->R0;
|
||||
TrapFrame->Pc += sizeof(ULONG);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -491,10 +492,11 @@ KiPrefetchAbortHandler(IN PKTRAP_FRAME TrapFrame)
|
|||
TrapFrame,
|
||||
KiGetPreviousMode(TrapFrame),
|
||||
TRUE);
|
||||
|
||||
//
|
||||
// TODO
|
||||
// We're done
|
||||
//
|
||||
while (TRUE);
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue