[RTL] Fix amd64 version of DebugService2
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 31 Dec 2017 16:42:40 +0000 (17:42 +0100)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 1 Jan 2018 11:09:38 +0000 (12:09 +0100)
sdk/lib/rtl/amd64/debug_asm.S

index 22a9f10..a659bc1 100644 (file)
@@ -47,11 +47,12 @@ DbgUserBreakPoint:
 .ENDP
 
 DebugService2:
+
+    /* Pass the service number in eax */
+    mov rax, r8
+    int HEX(2D)
+    int 3
     ret
-    /* Call the interrupt */
-//    mov eax, [rbp+8]
-//    int 0x2D
-//    int 3
 
 
 /******************************************************************************