mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 10:28:45 +00:00
- Optimize DebugService -- patch from Alex
svn path=/trunk/; revision=37362
This commit is contained in:
parent
aaeebbb670
commit
782931f369
1 changed files with 5 additions and 9 deletions
|
@ -67,13 +67,11 @@ _DebugService@20:
|
|||
/* 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 @@ _DebugService@20:
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue