From e6a91fe96a06d1f361be06fea451f36c661e5bb0 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 5 Sep 2011 22:18:56 +0000 Subject: [PATCH] [RTL] Add FPO information to some asm functions svn path=/trunk/; revision=53607 --- reactos/lib/rtl/i386/debug_asm.S | 34 +++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 12 deletions(-) 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