Author: ros-arm-bringup
Date: Sun Jul 13 19:26:18 2008
New Revision: 34486
URL:
http://svn.reactos.org/svn/reactos?rev=34486&view=rev
Log:
- 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.
Modified:
trunk/reactos/ntoskrnl/ke/arm/trapc.c
Modified: trunk/reactos/ntoskrnl/ke/arm/trapc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/arm/trapc.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/ke/arm/trapc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/arm/trapc.c [iso-8859-1] Sun Jul 13 19:26:18 2008
@@ -458,6 +458,7 @@
// Debug Service
//
Parameter0 = TrapFrame->R0;
+ TrapFrame->Pc += sizeof(ULONG);
}
else
{
@@ -491,10 +492,11 @@
TrapFrame,
KiGetPreviousMode(TrapFrame),
TRUE);
- //
- // TODO
- //
- while (TRUE);
+
+ //
+ // We're done
+ //
+ return STATUS_SUCCESS;
}
//