X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Flib%2Frtl%2Fi386%2Fdebug_asm.S;h=79b7badc030f996351bcda73ded52caa0da427ea;hp=4a858df6ed1954a313c659afceffd288bee500a9;hb=592824076618aceca7581ba9ed253811a6448a2c;hpb=176b0cdbe8b085a4f0a06924d7000de5dff839b0 diff --git a/reactos/lib/rtl/i386/debug_asm.S b/reactos/lib/rtl/i386/debug_asm.S index 4a858df6ed1..79b7badc030 100644 --- a/reactos/lib/rtl/i386/debug_asm.S +++ b/reactos/lib/rtl/i386/debug_asm.S @@ -14,7 +14,9 @@ .globl _DbgBreakPointWithStatus@4 .globl _DbgUserBreakPoint@0 .globl _DebugService@20 +.globl _DebugService2@12 .globl _DbgBreakPointNoBugCheck@0 +.globl _RtlpBreakWithStatusInstruction@0 /* FUNCTIONS ***************************************************************/ @@ -34,10 +36,31 @@ _DbgUserBreakPoint@0: .func DbgBreakPointWithStatus@4 _DbgBreakPointWithStatus@4: mov eax, [esp+4] + +_RtlpBreakWithStatusInstruction@0: int 3 ret 4 .endfunc +.func DebugService2@12 +_DebugService2@12: + + /* Setup the stack */ + push ebp + mov ebp, esp + + /* Call the interrupt */ + mov eax, [ebp+16] + mov ecx, [ebp+8] + mov edx, [ebp+12] + int 0x2D + //int 3 + + /* Restore stack */ + pop ebp + ret 12 +.endfunc + .func DebugService@20 _DebugService@20: