mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-02 04:23:34 +00:00
17 lines
261 B
ArmAsm
17 lines
261 B
ArmAsm
#include "libc/nt/ntdllimport.h"
|
|
.ntimp NtFlushKey,NtFlushKey
|
|
|
|
#ifdef __x86_64__
|
|
.text.windows
|
|
NtFlushKey:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov %rdi,%rcx
|
|
sub $32,%rsp
|
|
call *__imp_NtFlushKey(%rip)
|
|
leave
|
|
ret
|
|
.endfn NtFlushKey,globl
|
|
.previous
|
|
#endif
|