summaryrefslogtreecommitdiffstats
path: root/sys/mips/mips/elf_machdep.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-10-06 17:34:43 +0000
committerkib <kib@FreeBSD.org>2011-10-06 17:34:43 +0000
commitab59605ce7a948676391c50587442e7a8ae83c5e (patch)
treead4a6ef4cb18892b6951fd1537a6b2a027915213 /sys/mips/mips/elf_machdep.c
parent0d289d32e49bf755d08d828fc169da7d49509e31 (diff)
downloadFreeBSD-src-ab59605ce7a948676391c50587442e7a8ae83c5e.zip
FreeBSD-src-ab59605ce7a948676391c50587442e7a8ae83c5e.tar.gz
Convert MIPS to the syscallenter/syscallret system call sequence handlers.
This was the last architecture used custom syscall entry sequence. Reviewed, debugged, tested and approved by: jchandra MFC after: 1 month
Diffstat (limited to 'sys/mips/mips/elf_machdep.c')
-rw-r--r--sys/mips/mips/elf_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/mips/elf_machdep.c b/sys/mips/mips/elf_machdep.c
index 41611e3..85ada0b 100644
--- a/sys/mips/mips/elf_machdep.c
+++ b/sys/mips/mips/elf_machdep.c
@@ -80,7 +80,7 @@ struct sysentvec elf64_freebsd_sysvec = {
.sv_maxssiz = NULL,
.sv_flags = SV_ABI_FREEBSD | SV_LP64,
.sv_set_syscall_retval = cpu_set_syscall_retval,
- .sv_fetch_syscall_args = NULL, /* XXXKIB */
+ .sv_fetch_syscall_args = cpu_fetch_syscall_args,
.sv_syscallnames = syscallnames,
.sv_schedtail = NULL,
};
@@ -136,7 +136,7 @@ struct sysentvec elf32_freebsd_sysvec = {
.sv_maxssiz = NULL,
.sv_flags = SV_ABI_FREEBSD | SV_ILP32,
.sv_set_syscall_retval = cpu_set_syscall_retval,
- .sv_fetch_syscall_args = NULL, /* XXXKIB */
+ .sv_fetch_syscall_args = cpu_fetch_syscall_args,
.sv_syscallnames = syscallnames,
.sv_schedtail = NULL,
};
OpenPOWER on IntegriCloud