https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f60a9eb7a3d4a674969b52347293bb30673efa49

commit f60a9eb7a3d4a674969b52347293bb30673efa49
Author: Timo Kreuzer <timo.kreu...@reactos.org>
AuthorDate: Sun Dec 31 17:42:40 2017 +0100

    [RTL] Fix amd64 version of DebugService2
---
 sdk/lib/rtl/amd64/debug_asm.S | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sdk/lib/rtl/amd64/debug_asm.S b/sdk/lib/rtl/amd64/debug_asm.S
index 22a9f107f4..a659bc16f4 100644
--- a/sdk/lib/rtl/amd64/debug_asm.S
+++ b/sdk/lib/rtl/amd64/debug_asm.S
@@ -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
 
 
 /******************************************************************************

Reply via email to