mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 19:22: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
14
libc/nt/ntdll/NtCreateFile.S
Normal file
14
libc/nt/ntdll/NtCreateFile.S
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include "libc/nt/ntdllimport.h"
|
||||
.ntimp NtCreateFile,NtCreateFile
|
||||
|
||||
#ifdef __x86_64__
|
||||
.text.windows
|
||||
NtCreateFile:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_NtCreateFile(%rip),%rax
|
||||
jmp __sysv2nt12
|
||||
.endfn NtCreateFile,globl
|
||||
.previous
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue