This commit is contained in:
rumble 2009-01-11 20:00:14 +00:00
parent 5e7d8a6495
commit 40019d9470
4 changed files with 30 additions and 30 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: irix_syscall.h,v 1.58 2008/04/23 14:10:03 ad Exp $ */
/* $NetBSD: irix_syscall.h,v 1.59 2009/01/11 20:00:14 rumble Exp $ */
/*
* System call numbers.
@ -174,7 +174,7 @@
/* syscall: "setrlimit64" ret: "int" args: "int" "const struct irix_rlimit64 *" */
#define IRIX_SYS_setrlimit64 76
/* syscall: "nanosleep" ret: "int" args: "const struct timespec *" "struct timespec *" */
/* syscall: "nanosleep" ret: "int" args: "const struct timespec50 *" "struct timespec50 *" */
#define IRIX_SYS_nanosleep 77
/* syscall: "lseek64" ret: "irix_off64_t" args: "int" "int" "irix_off64_t" "int" "int" "int" "int" */
@ -237,7 +237,7 @@
/* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
#define IRIX_SYS_recvmsg 99
/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
#define IRIX_SYS_select 100
/* syscall: "send" ret: "int" args: "int" "void *" "int" "int" */
@ -300,10 +300,10 @@
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define IRIX_SYS_setitimer 126
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
/* syscall: "adjtime" ret: "int" args: "struct timeval50 *" "struct timeval50 *" */
#define IRIX_SYS_adjtime 127
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" */
/* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" */
#define IRIX_SYS_gettimeofday 128
/* syscall: "sproc" ret: "irix_pid_t" args: "void *" "unsigned int" "void *" */

View File

@ -1,4 +1,4 @@
/* $NetBSD: irix_syscallargs.h,v 1.58 2008/04/23 14:10:03 ad Exp $ */
/* $NetBSD: irix_syscallargs.h,v 1.59 2009/01/11 20:00:14 rumble Exp $ */
/*
* System call argument lists.
@ -173,7 +173,7 @@ struct irix_sys_setrlimit64_args {
};
check_syscall_args(irix_sys_setrlimit64)
struct sys_nanosleep_args;
struct compat_50_sys_nanosleep_args;
struct irix_sys_lseek64_args {
syscallarg(int) fd;
@ -235,7 +235,7 @@ struct compat_43_sys_recvfrom_args;
struct compat_43_sys_recvmsg_args;
struct sys_select_args;
struct compat_50_sys_select_args;
struct compat_43_sys_send_args;
@ -273,11 +273,11 @@ struct sys_setregid_args;
struct sys_setreuid_args;
struct sys_getitimer_args;
struct compat_50_sys_getitimer_args;
struct sys_setitimer_args;
struct compat_50_sys_setitimer_args;
struct sys_adjtime_args;
struct compat_50_sys_adjtime_args;
struct svr4_sys_gettimeofday_args;
@ -619,7 +619,7 @@ int irix_sys_getrlimit64(struct lwp *, const struct irix_sys_getrlimit64_args *,
int irix_sys_setrlimit64(struct lwp *, const struct irix_sys_setrlimit64_args *, register_t *);
int sys_nanosleep(struct lwp *, const struct sys_nanosleep_args *, register_t *);
int compat_50_sys_nanosleep(struct lwp *, const struct compat_50_sys_nanosleep_args *, register_t *);
int irix_sys_lseek64(struct lwp *, const struct irix_sys_lseek64_args *, register_t *);
@ -661,7 +661,7 @@ int compat_43_sys_recvfrom(struct lwp *, const struct compat_43_sys_recvfrom_arg
int compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args *, register_t *);
int sys_select(struct lwp *, const struct sys_select_args *, register_t *);
int compat_50_sys_select(struct lwp *, const struct compat_50_sys_select_args *, register_t *);
int compat_43_sys_send(struct lwp *, const struct compat_43_sys_send_args *, register_t *);
@ -699,11 +699,11 @@ int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *);
int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *);
int sys_getitimer(struct lwp *, const struct sys_getitimer_args *, register_t *);
int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);
int sys_setitimer(struct lwp *, const struct sys_setitimer_args *, register_t *);
int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *);
int sys_adjtime(struct lwp *, const struct sys_adjtime_args *, register_t *);
int compat_50_sys_adjtime(struct lwp *, const struct compat_50_sys_adjtime_args *, register_t *);
int svr4_sys_gettimeofday(struct lwp *, const struct svr4_sys_gettimeofday_args *, register_t *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: irix_syscalls.c,v 1.58 2008/04/23 14:10:03 ad Exp $ */
/* $NetBSD: irix_syscalls.c,v 1.59 2009/01/11 20:00:14 rumble Exp $ */
/*
* System call names.
@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.58 2008/04/23 14:10:03 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: irix_syscalls.c,v 1.59 2009/01/11 20:00:14 rumble Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)

View File

@ -1,4 +1,4 @@
/* $NetBSD: irix_sysent.c,v 1.58 2008/04/23 14:10:03 ad Exp $ */
/* $NetBSD: irix_sysent.c,v 1.59 2009/01/11 20:00:14 rumble Exp $ */
/*
* System call switch table.
@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.58 2008/04/23 14:10:03 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: irix_sysent.c,v 1.59 2009/01/11 20:00:14 rumble Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
@ -206,8 +206,8 @@ struct sysent irix_sysent[] = {
(sy_call_t *)irix_sys_getrlimit64 },/* 75 = getrlimit64 */
{ ns(struct irix_sys_setrlimit64_args), 0,
(sy_call_t *)irix_sys_setrlimit64 },/* 76 = setrlimit64 */
{ ns(struct sys_nanosleep_args), 0,
(sy_call_t *)sys_nanosleep }, /* 77 = nanosleep */
{ ns(struct compat_50_sys_nanosleep_args), 0,
(sy_call_t *)compat_50_sys_nanosleep },/* 77 = nanosleep */
{ ns(struct irix_sys_lseek64_args), 0,
(sy_call_t *)irix_sys_lseek64 }, /* 78 = lseek64 */
{ ns(struct sys_rmdir_args), 0,
@ -252,8 +252,8 @@ struct sysent irix_sysent[] = {
(sy_call_t *)compat_43_sys_recvfrom },/* 98 = recvfrom */
{ ns(struct compat_43_sys_recvmsg_args), 0,
(sy_call_t *)compat_43_sys_recvmsg },/* 99 = recvmsg */
{ ns(struct sys_select_args), 0,
(sy_call_t *)sys_select }, /* 100 = select */
{ ns(struct compat_50_sys_select_args), 0,
(sy_call_t *)compat_50_sys_select },/* 100 = select */
{ ns(struct compat_43_sys_send_args), 0,
(sy_call_t *)compat_43_sys_send }, /* 101 = send */
{ ns(struct compat_43_sys_sendmsg_args), 0,
@ -302,12 +302,12 @@ struct sysent irix_sysent[] = {
(sy_call_t *)sys_setregid }, /* 123 = setregid */
{ ns(struct sys_setreuid_args), 0,
(sy_call_t *)sys_setreuid }, /* 124 = setreuid */
{ ns(struct sys_getitimer_args), 0,
(sy_call_t *)sys_getitimer }, /* 125 = getitimer */
{ ns(struct sys_setitimer_args), 0,
(sy_call_t *)sys_setitimer }, /* 126 = setitimer */
{ ns(struct sys_adjtime_args), 0,
(sy_call_t *)sys_adjtime }, /* 127 = adjtime */
{ ns(struct compat_50_sys_getitimer_args), 0,
(sy_call_t *)compat_50_sys_getitimer },/* 125 = getitimer */
{ ns(struct compat_50_sys_setitimer_args), 0,
(sy_call_t *)compat_50_sys_setitimer },/* 126 = setitimer */
{ ns(struct compat_50_sys_adjtime_args), 0,
(sy_call_t *)compat_50_sys_adjtime },/* 127 = adjtime */
{ ns(struct svr4_sys_gettimeofday_args), 0,
(sy_call_t *)svr4_sys_gettimeofday },/* 128 = gettimeofday */
{ ns(struct irix_sys_sproc_args), 0,