cosmopolitan/libc/nt/KernelBase/VirtualAlloc.s

13 lines
243 B
ArmAsm
Raw Normal View History

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