mes/lib/mach/mach_thread_self.S

20 lines
523 B
ArmAsm
Raw Normal View History

2019-03-10 20:52:05 +00:00
#if 1
#include <mach/machine/syscall_sw.h>
kernel_trap (__mach_thread_self,-27,0)
// weak_alias (__mach_thread_self, mach_thread_self)
#else
.globl __mach_thread_self
.type __mach_thread_self,@function
.align 1<<4
__mach_thread_self: .cfi_startproc
movl $ -27,%eax
.byte 0x9a
.long 0
.word 0x7
ret
.cfi_endproc
.size __mach_thread_self,.-__mach_thread_self
.weak mach_thread_self
mach_thread_self = __mach_thread_self
#endif