Author: sginsberg
Date: Fri Nov 14 13:14:00 2008
New Revision: 37362
URL:
http://svn.reactos.org/svn/reactos?rev=37362&view=rev
Log:
- Optimize DebugService -- patch from Alex
Modified:
trunk/reactos/lib/rtl/i386/debug_asm.S
Modified: trunk/reactos/lib/rtl/i386/debug_asm.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/i386/debug_asm.S?r…
==============================================================================
--- trunk/reactos/lib/rtl/i386/debug_asm.S [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/i386/debug_asm.S [iso-8859-1] Fri Nov 14 13:14:00 2008
@@ -67,13 +67,11 @@
/* Setup the stack */
push ebp
mov ebp, esp
-
+
/* Save the registers */
- push ecx
push ebx
push edi
- push edx
-
+
/* Call the Interrupt */
mov eax, [ebp+8]
mov ecx, [ebp+12]
@@ -82,14 +80,12 @@
mov edi, [ebp+24]
int 0x2D
int 3
-
+
/* Restore registers */
- pop edx
pop edi
pop ebx
- pop ecx
-
+
/* Return */
- leave
+ pop ebp
ret 20
.endfunc