cosmopolitan/libc/nt/kernel32/InitializeContext.S

19 lines
332 B
ArmAsm
Raw Permalink Normal View History

#include "libc/nt/codegen.h"
.imp kernel32,__imp_InitializeContext,InitializeContext
.text.windows
2024-01-29 05:57:40 +00:00
.ftrace1
InitializeContext:
2024-01-29 05:57:40 +00:00
.ftrace2
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
mov __imp_InitializeContext(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn InitializeContext,globl
.previous