mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +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
|
@ -69,10 +69,8 @@ _DebugService@20:
|
||||||
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]
|
||||||
|
@ -84,12 +82,10 @@ _DebugService@20:
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue