cosmopolitan/libc/nt/KernelBase/TerminateProcess.s

13 lines
263 B
ArmAsm
Raw Normal View History

2020-06-15 14:18:57 +00:00
.include "o/libc/nt/codegen.inc"
.imp KernelBase,__imp_TerminateProcess,TerminateProcess,1674
.text.windows
TerminateProcess:
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_TerminateProcess(%rip),%rax
jmp __sysv2nt
.endfn TerminateProcess,globl
.previous