This commit is contained in:
njoly 2014-01-13 10:33:23 +00:00
parent 283688165b
commit 917429fe1b
4 changed files with 27 additions and 19 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.88 2013/12/27 14:17:32 njoly Exp $ */
/* $NetBSD: linux_syscall.h,v 1.89 2014/01/13 10:33:23 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.82 2013/12/27 14:17:11 njoly Exp
* created from NetBSD: syscalls.master,v 1.83 2014/01/13 10:33:03 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@ -492,7 +492,7 @@
/* syscall: "gettimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
#define LINUX_SYS_gettimeofday 359
/* syscall: "settimeofday" ret: "int" args: "const struct timeval50 *" "const struct timezone *" */
/* syscall: "settimeofday" ret: "int" args: "struct timeval50 *" "struct timezone *" */
#define LINUX_SYS_settimeofday 360
/* syscall: "getitimer" ret: "int" args: "int" "struct itimerval50 *" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.87 2013/12/27 14:17:32 njoly Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.88 2014/01/13 10:33:23 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.82 2013/12/27 14:17:11 njoly Exp
* created from NetBSD: syscalls.master,v 1.83 2014/01/13 10:33:03 njoly Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -776,9 +776,17 @@ struct linux_sys_select_args {
};
check_syscall_args(linux_sys_select)
struct compat_50_sys_gettimeofday_args;
struct linux_sys_gettimeofday_args {
syscallarg(struct timeval50 *) tp;
syscallarg(struct timezone *) tzp;
};
check_syscall_args(linux_sys_gettimeofday)
struct compat_50_sys_settimeofday_args;
struct linux_sys_settimeofday_args {
syscallarg(struct timeval50 *) tp;
syscallarg(struct timezone *) tzp;
};
check_syscall_args(linux_sys_settimeofday)
struct compat_50_sys_getitimer_args;
@ -1469,9 +1477,9 @@ int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_a
int linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *);
int compat_50_sys_gettimeofday(struct lwp *, const struct compat_50_sys_gettimeofday_args *, register_t *);
int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *);
int compat_50_sys_settimeofday(struct lwp *, const struct compat_50_sys_settimeofday_args *, register_t *);
int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *);
int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.89 2013/12/27 14:17:32 njoly Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.90 2014/01/13 10:33:23 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.82 2013/12/27 14:17:11 njoly Exp
* created from NetBSD: syscalls.master,v 1.83 2014/01/13 10:33:03 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.89 2013/12/27 14:17:32 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.90 2014/01/13 10:33:23 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.88 2013/12/27 14:17:32 njoly Exp $ */
/* $NetBSD: linux_sysent.c,v 1.89 2014/01/13 10:33:23 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.82 2013/12/27 14:17:11 njoly Exp
* created from NetBSD: syscalls.master,v 1.83 2014/01/13 10:33:03 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.88 2013/12/27 14:17:32 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.89 2014/01/13 10:33:23 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@ -788,10 +788,10 @@ struct sysent linux_sysent[] = {
(sy_call_t *)linux_sys_rt_sigsuspend },/* 357 = rt_sigsuspend */
{ ns(struct linux_sys_select_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_select }, /* 358 = select */
{ ns(struct compat_50_sys_gettimeofday_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_50_sys_gettimeofday },/* 359 = gettimeofday */
{ ns(struct compat_50_sys_settimeofday_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_50_sys_settimeofday },/* 360 = settimeofday */
{ ns(struct linux_sys_gettimeofday_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_gettimeofday },/* 359 = gettimeofday */
{ ns(struct linux_sys_settimeofday_args), SYCALL_ARG_PTR,
(sy_call_t *)linux_sys_settimeofday },/* 360 = settimeofday */
{ ns(struct compat_50_sys_getitimer_args), SYCALL_ARG_PTR,
(sy_call_t *)compat_50_sys_getitimer },/* 361 = getitimer */
{ ns(struct compat_50_sys_setitimer_args), SYCALL_ARG_PTR,