cosmopolitan/libc/nt/KernelBase/GetLastError.s

15 lines
250 B
ArmAsm
Raw Normal View History

2020-06-15 14:18:57 +00:00
.include "o/libc/nt/codegen.inc"
.imp KernelBase,__imp_GetLastError,GetLastError,581
.text.windows
GetLastError:
push %rbp
mov %rsp,%rbp
.profilable
sub $32,%rsp
call *__imp_GetLastError(%rip)
leave
ret
.endfn GetLastError,globl
.previous