diff --git a/reactos/lib/rtl/i386/debug_asm.S b/reactos/lib/rtl/i386/debug_asm.S index 39b6fa84236..7849ec7f0c9 100644 --- a/reactos/lib/rtl/i386/debug_asm.S +++ b/reactos/lib/rtl/i386/debug_asm.S @@ -22,24 +22,32 @@ PUBLIC _RtlpBreakWithStatusInstruction@0 .code -_DbgBreakPointNoBugCheck@0: +FUNC DbgBreakPointNoBugCheck@0 + FPO 0, 0, 0, 0, 0, FRAME_FPO int 3 ret +ENDFUNC DbgBreakPointNoBugCheck@0 -_DbgBreakPoint@0: _DbgUserBreakPoint@0: +FUNC DbgBreakPoint@0 + FPO 0, 0, 0, 0, 0, FRAME_FPO int 3 ret +ENDFUNC DbgBreakPoint@0 -_DbgBreakPointWithStatus@4: +FUNC DbgBreakPointWithStatus@4 + FPO 0, 1, 0, 0, 0, FRAME_FPO mov eax, [esp+4] +ENDFUNC DbgBreakPointWithStatus@4 -_RtlpBreakWithStatusInstruction@0: +FUNC RtlpBreakWithStatusInstruction@0 + FPO 0, 0, 0, 0, 0, FRAME_FPO int 3 ret 4 +ENDFUNC RtlpBreakWithStatusInstruction@0 - -_DebugService2@12: +FUNC DebugService2@12 + FPO 0, 3, 3, 0, 1, FRAME_NONFPO /* Setup the stack */ push ebp @@ -55,18 +63,19 @@ _DebugService2@12: /* Restore stack */ pop ebp ret 12 +ENDFUNC DebugService2@12 - -_DebugService@20: +FUNC DebugService@20 + FPO 0, 5, 3, 0, 1, FRAME_NONFPO /* Setup the stack */ push ebp mov ebp, esp - + /* Save the registers */ push ebx push edi - + /* Call the Interrupt */ mov eax, [ebp+8] mov ecx, [ebp+12] @@ -75,13 +84,14 @@ _DebugService@20: mov edi, [ebp+24] int HEX(2D) int 3 - + /* Restore registers */ pop edi pop ebx - + /* Return */ pop ebp ret 20 +ENDFUNC DebugService@20 END