Home
last modified time | relevance | path

Searched refs:SYSCALL_SHIFT (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/sys/arch/mips/mips/
H A Dsigcode.S52 #define SYSCALL_SHIFT 4000 # 4000 shift as in linux_syscall.c macro
55 li v0, LINUX_SYS_sigreturn + SYSCALL_SHIFT # sigreturn(sf)
60 #undef SYSCALL_SHIFT
H A Dsyscall.c94 #ifndef SYSCALL_SHIFT
95 #define SYSCALL_SHIFT 0 macro
150 code = saved_v0 - SYSCALL_SHIFT; in EMULNAME()
157 code = *fargs++ - SYSCALL_SHIFT; in EMULNAME()
164 code = fargs[_QUAD_LOWWORD] - SYSCALL_SHIFT; in EMULNAME()
H A Dlinux_syscall.c36 #define SYSCALL_SHIFT 4000 macro
/netbsd-src/sys/arch/riscv/riscv/
H A Dsyscall.c50 #ifndef SYSCALL_SHIFT
51 #define SYSCALL_SHIFT 0 macro
94 code = tf->tf_t6 - SYSCALL_SHIFT; in EMULNAME()