mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 04:11:30 +00:00
26 lines
304 B
ArmAsm
26 lines
304 B
ArmAsm
|
|
#include <asm.inc>
|
|
|
|
.code
|
|
|
|
#ifdef _M_IX86
|
|
PUBLIC @KdVmExchange@8
|
|
FUNC @KdVmExchange@8
|
|
xchg eax, ecx
|
|
mov edx, HEX(5659)
|
|
out dx, eax
|
|
ret
|
|
ENDFUNC
|
|
#else
|
|
PUBLIC KdVmExchange
|
|
FUNC KdVmExchange
|
|
.endprolog
|
|
xchg rax, rcx
|
|
mov edx, HEX(5659)
|
|
out dx, rax
|
|
ret
|
|
ENDFUNC
|
|
#endif
|
|
|
|
END
|