14 /* We intentionally don't take advantage of delay slots because
15 the compiler removes them anyway */
19 #define SYSCALL(name) SYSCALL2(name,SYS_##name)
20 #define SYSCALL2(name,number) \
21 .section .text.name,"ax",@progbits; \
32 #define SYSCALL_R(name) SYSCALL_R2(_##name##_r,SYS_##name)
33 #define SYSCALL_R2(name,number) \
34 .section .text.name,"ax",@progbits; \
47 bne t1,zero,$L##name##_errno;\
54 j _syscall_set_errno; \
86 /* shouldn't get here */
93 SYSCALL2(_exit,SYS_exit)
94 SYSCALL2(_pause,SYS_pause)
104 SYSCALL2(_call_java,SYS_calljava)
106 SYSCALL_R(gettimeofday)
118 SYSCALL_R2(__getcwd_r,SYS_getcwd)
119 SYSCALL_R2(__execve_r,SYS_exec)