cosmopolitan/libc/sysv/errfuns/el2nsync.S

15 lines
227 B
ArmAsm
Raw Normal View History

#include "libc/macros.internal.h"
2020-06-15 07:18:57 -07:00
.text.unlikely
2022-05-16 13:20:08 -07:00
.section .privileged,"ax",@progbits
2020-06-15 07:18:57 -07:00
el2nsync:
.leafprologue
2022-05-16 13:20:08 -07:00
mov EL2NSYNC(%rip),%ecx
.errno
mov %ecx,(%rax)
2020-06-15 07:18:57 -07:00
push $-1
pop %rax
.leafepilogue
.endfn el2nsync,globl,hidden