summaryrefslogtreecommitdiff
path: root/src/arch-mips64-syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch-mips64-syscalls.c')
-rw-r--r--src/arch-mips64-syscalls.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/arch-mips64-syscalls.c b/src/arch-mips64-syscalls.c
index 7ad6afb..baffe20 100644
--- a/src/arch-mips64-syscalls.c
+++ b/src/arch-mips64-syscalls.c
@@ -30,7 +30,7 @@
/* 64 ABI */
#define __NR_SYSCALL_BASE 5000
-/* NOTE: based on Linux 3.19 */
+/* NOTE: based on Linux 4.2-rc5 */
const struct arch_syscall_def mips64_syscall_table[] = { \
{ "_llseek", __PNR__llseek },
{ "_newselect", (__NR_SYSCALL_BASE + 22) },
@@ -228,6 +228,7 @@ const struct arch_syscall_def mips64_syscall_table[] = { \
{ "msgrcv", (__NR_SYSCALL_BASE + 68) },
{ "msgsnd", (__NR_SYSCALL_BASE + 67) },
{ "msync", (__NR_SYSCALL_BASE + 25) },
+ { "multiplexer", __PNR_multiplexer },
{ "munlock", (__NR_SYSCALL_BASE + 147) },
{ "munlockall", (__NR_SYSCALL_BASE + 149) },
{ "munmap", (__NR_SYSCALL_BASE + 11) },
@@ -298,6 +299,7 @@ const struct arch_syscall_def mips64_syscall_table[] = { \
{ "rt_sigsuspend", (__NR_SYSCALL_BASE + 128) },
{ "rt_sigtimedwait", (__NR_SYSCALL_BASE + 126) },
{ "rt_tgsigqueueinfo", (__NR_SYSCALL_BASE + 291) },
+ { "rtas", __PNR_rtas },
{ "s390_runtime_instr", __PNR_s390_runtime_instr },
{ "sched_get_priority_max", (__NR_SYSCALL_BASE + 143) },
{ "sched_get_priority_min", (__NR_SYSCALL_BASE + 144) },
@@ -377,6 +379,8 @@ const struct arch_syscall_def mips64_syscall_table[] = { \
{ "socketcall", __PNR_socketcall },
{ "socketpair", (__NR_SYSCALL_BASE + 52) },
{ "splice", (__NR_SYSCALL_BASE + 263) },
+ { "spu_create", __PNR_spu_create },
+ { "spu_run", __PNR_spu_run },
{ "ssetmask", __PNR_ssetmask },
{ "stat", (__NR_SYSCALL_BASE + 4) },
{ "stat64", __PNR_stat64 },
@@ -384,8 +388,11 @@ const struct arch_syscall_def mips64_syscall_table[] = { \
{ "statfs64", __PNR_statfs64 },
{ "stime", __PNR_stime },
{ "stty", __PNR_stty },
+ { "subpage_prot", __PNR_subpage_prot },
+ { "swapcontext", __PNR_swapcontext },
{ "swapoff", (__NR_SYSCALL_BASE + 163) },
{ "swapon", (__NR_SYSCALL_BASE + 162) },
+ { "switch_endian", __PNR_switch_endian },
{ "symlink", (__NR_SYSCALL_BASE + 86) },
{ "symlinkat", (__NR_SYSCALL_BASE + 256) },
{ "sync", (__NR_SYSCALL_BASE + 157) },
@@ -393,6 +400,7 @@ const struct arch_syscall_def mips64_syscall_table[] = { \
{ "sync_file_range2", __PNR_sync_file_range2 },
{ "syncfs", (__NR_SYSCALL_BASE + 301) },
{ "syscall", __PNR_syscall },
+ { "sys_debug_setcontext", __PNR_sys_debug_setcontext },
{ "sysfs", (__NR_SYSCALL_BASE + 136) },
{ "sysinfo", (__NR_SYSCALL_BASE + 97) },
{ "syslog", (__NR_SYSCALL_BASE + 101) },