- Optimize DebugService -- patch from Alex

svn path=/trunk/; revision=37362
This commit is contained in:
Stefan Ginsberg 2008-11-14 19:14:00 +00:00
parent aaeebbb670
commit 782931f369

View file

@ -67,13 +67,11 @@ _DebugService@20:
/* Setup the stack */ /* Setup the stack */
push ebp push ebp
mov ebp, esp mov ebp, esp
/* Save the registers */ /* Save the registers */
push ecx
push ebx push ebx
push edi push edi
push edx
/* Call the Interrupt */ /* Call the Interrupt */
mov eax, [ebp+8] mov eax, [ebp+8]
mov ecx, [ebp+12] mov ecx, [ebp+12]
@ -82,14 +80,12 @@ _DebugService@20:
mov edi, [ebp+24] mov edi, [ebp+24]
int 0x2D int 0x2D
int 3 int 3
/* Restore registers */ /* Restore registers */
pop edx
pop edi pop edi
pop ebx pop ebx
pop ecx
/* Return */ /* Return */
leave pop ebp
ret 20 ret 20
.endfunc .endfunc