[ros-diffs] [ros-arm-bringup] 34486: - 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.

ros-arm-bringup at svn.reactos.org ros-arm-bringup at svn.reactos.org
Mon Jul 14 02:26:19 CEST 2008


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?rev=34486&r1=34485&r2=34486&view=diff
==============================================================================
--- 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;
     }
     
     //



More information about the Ros-diffs mailing list