mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-24 06:12:27 +00:00
Make progress towards aarch64 build
This commit is contained in:
parent
08ff26c817
commit
ca2860947f
15428 changed files with 25694 additions and 23138 deletions
17
libc/nt/kernel32/GetSystemTimeAsFileTime.S
Normal file
17
libc/nt/kernel32/GetSystemTimeAsFileTime.S
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include "libc/nt/codegen.h"
|
||||
.imp kernel32,__imp_GetSystemTimeAsFileTime,GetSystemTimeAsFileTime,0
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
GetSystemTimeAsFileTime:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_GetSystemTimeAsFileTime(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn GetSystemTimeAsFileTime,globl
|
||||
.previous
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue