123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- .text
- ENTRY(name) \
- ld [%g7 + MULTIPLE_THREADS_OFFSET], %g1
- brnz,pn %g1, 1f
- mov SYS_ify(syscall_name), %g1
- ta 0x6d
- bcs,pn %xcc, __syscall_error_handler
- nop; \
- .subsection 2
- 1: save %sp, -192, %sp
- CENABLE
- nop; \
- mov %o0, %l0
- COPY_ARGS_
- mov SYS_ify(syscall_name), %g1
- ta 0x6d
- bcs,pn %xcc, __syscall_error_handler2
- mov %o0, %l1
- CDISABLE
- mov %l0, %o0
- jmpl %i7 + 8, %g0
- restore %g0, %l1, %o0
- .previous
- SYSCALL_ERROR_HANDLER \
- SYSCALL_ERROR_HANDLER2
- SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler2) \
- .global __errno_location
- .type __errno_location,@function
- CDISABLE
- mov %l0, %o0
- call __errno_location
- nop; \
- st %l1, [%o0]
- jmpl %i7 + 8, %g0
- restore %g0, -1, %o0
- .previous;
- __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
- p_header.data.multiple_threads) == 0, 1)
|