mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
fe777bb52f
They are not used anymore. Also clean up some obsolete prototypes.
30 lines
473 B
ArmAsm
30 lines
473 B
ArmAsm
|
|
#include <asm.inc>
|
|
#include <ks386.inc>
|
|
|
|
.code
|
|
|
|
PUBLIC _KdbpStackSwitchAndCall@8
|
|
_KdbpStackSwitchAndCall@8:
|
|
push ebp
|
|
mov ebp, esp
|
|
|
|
mov eax, [esp + 8] /* New stack */
|
|
mov ecx, [esp + 12] /* Function to call */
|
|
mov edx, esp /* Old stack */
|
|
|
|
/* Switch stack */
|
|
mov esp, eax
|
|
push edx
|
|
|
|
/* Call function */
|
|
call ecx
|
|
|
|
/* Switch back to old stack */
|
|
pop esp
|
|
|
|
/* Return */
|
|
pop ebp
|
|
ret 8
|
|
|
|
END
|