Regenerate files after updating syscalls.master for compat_ultrix:

Adapt to the state after the recent time_t change.
  Type changes:
    timeval -> timeval50
    itimerval -> itimerval50
    rusage -> rusage50
  and use of the compat_50 calls where appropriate.
  Untested, but at least it builds.

  Discussed with christos@
This commit is contained in:
he 2009-01-17 15:50:12 +00:00
parent 92c667768c
commit 994737a3f6
4 changed files with 63 additions and 63 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: ultrix_syscall.h,v 1.59 2009/01/13 22:33:17 pooka Exp $ */
/* $NetBSD: ultrix_syscall.h,v 1.60 2009/01/17 15:50:12 he Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.49 2009/01/13 22:27:44 pooka Exp
* created from NetBSD: syscalls.master,v 1.50 2009/01/17 15:48:06 he Exp
*/
#ifndef _ULTRIX_SYS_SYSCALL_H_
@ -195,17 +195,17 @@
/* syscall: "setpgrp" ret: "int" args: "int" "int" */
#define ULTRIX_SYS_setpgrp 82
/* syscall: "setitimer" ret: "int" args: "u_int" "struct itimerval *" "struct itimerval *" */
#define ULTRIX_SYS_setitimer 83
/* syscall: "__setitimer50" ret: "int" args: "u_int" "struct itimerval50 *" "struct itimerval50 *" */
#define ULTRIX_SYS___setitimer50 83
/* syscall: "wait3" ret: "int" args: "int *" "int" "struct rusage *" */
/* syscall: "wait3" ret: "int" args: "int *" "int" "struct rusage50 *" */
#define ULTRIX_SYS_wait3 84
/* syscall: "swapon" ret: "int" args: "char *" */
#define ULTRIX_SYS_swapon 85
/* syscall: "getitimer" ret: "int" args: "u_int" "struct itimerval *" */
#define ULTRIX_SYS_getitimer 86
/* syscall: "__getitimer50" ret: "int" args: "u_int" "struct itimerval50 *" */
#define ULTRIX_SYS___getitimer50 86
/* syscall: "gethostname" ret: "int" args: "char *" "u_int" */
#define ULTRIX_SYS_gethostname 87
@ -222,7 +222,7 @@
/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define ULTRIX_SYS_fcntl 92
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval *" */
/* syscall: "select" ret: "int" args: "u_int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
#define ULTRIX_SYS_select 93
/* syscall: "fsync" ret: "int" args: "int" */
@ -283,11 +283,11 @@
#define ULTRIX_SYS_sendmsg 114
/* 115 is obsolete vtrace */
/* syscall: "gettimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define ULTRIX_SYS_gettimeofday 116
/* syscall: "__gettimeofday50" ret: "int" args: "struct timeval50 *" "struct timezone *" */
#define ULTRIX_SYS___gettimeofday50 116
/* syscall: "getrusage" ret: "int" args: "int" "struct rusage *" */
#define ULTRIX_SYS_getrusage 117
/* syscall: "__getrusage50" ret: "int" args: "int" "struct rusage50 *" */
#define ULTRIX_SYS___getrusage50 117
/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "int *" */
#define ULTRIX_SYS_getsockopt 118
@ -298,8 +298,8 @@
/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define ULTRIX_SYS_writev 121
/* syscall: "settimeofday" ret: "int" args: "struct timeval *" "struct timezone *" */
#define ULTRIX_SYS_settimeofday 122
/* syscall: "__settimeofday50" ret: "int" args: "struct timeval50 *" "struct timezone *" */
#define ULTRIX_SYS___settimeofday50 122
/* syscall: "__posix_fchown" ret: "int" args: "int" "int" "int" */
#define ULTRIX_SYS___posix_fchown 123
@ -343,14 +343,14 @@
/* syscall: "rmdir" ret: "int" args: "char *" */
#define ULTRIX_SYS_rmdir 137
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval *" */
#define ULTRIX_SYS_utimes 138
/* syscall: "__utimes50" ret: "int" args: "char *" "struct timeval50 *" */
#define ULTRIX_SYS___utimes50 138
/* syscall: "sigcleanup" ret: "int" args: "struct sigcontext *" */
#define ULTRIX_SYS_sigcleanup 139
/* syscall: "adjtime" ret: "int" args: "struct timeval *" "struct timeval *" */
#define ULTRIX_SYS_adjtime 140
/* syscall: "__adjtime50" ret: "int" args: "struct timeval50 *" "struct timeval50 *" */
#define ULTRIX_SYS___adjtime50 140
/* syscall: "getpeername" ret: "int" args: "int" "void *" "int *" */
#define ULTRIX_SYS_getpeername 141

View File

@ -1,10 +1,10 @@
/* $NetBSD: ultrix_syscallargs.h,v 1.54 2009/01/13 22:33:17 pooka Exp $ */
/* $NetBSD: ultrix_syscallargs.h,v 1.55 2009/01/17 15:50:12 he Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.49 2009/01/13 22:27:44 pooka Exp
* created from NetBSD: syscalls.master,v 1.50 2009/01/17 15:48:06 he Exp
*/
#ifndef _ULTRIX_SYS_SYSCALLARGS_H_
@ -176,18 +176,18 @@ struct ultrix_sys_setpgrp_args {
};
check_syscall_args(ultrix_sys_setpgrp)
struct sys_setitimer_args;
struct sys___setitimer50_args;
struct ultrix_sys_wait3_args {
syscallarg(int *) status;
syscallarg(int) options;
syscallarg(struct rusage *) rusage;
syscallarg(struct rusage50 *) rusage;
};
check_syscall_args(ultrix_sys_wait3)
struct compat_12_sys_swapon_args;
struct sys_getitimer_args;
struct sys___getitimer50_args;
struct compat_43_sys_gethostname_args;
@ -207,7 +207,7 @@ struct ultrix_sys_select_args {
syscallarg(fd_set *) in;
syscallarg(fd_set *) ou;
syscallarg(fd_set *) ex;
syscallarg(struct timeval *) tv;
syscallarg(struct timeval50 *) tv;
};
check_syscall_args(ultrix_sys_select)
@ -267,9 +267,9 @@ struct compat_43_sys_recvmsg_args;
struct compat_43_sys_sendmsg_args;
struct sys_gettimeofday_args;
struct sys___gettimeofday50_args;
struct sys_getrusage_args;
struct sys___getrusage50_args;
struct sys_getsockopt_args;
@ -277,7 +277,7 @@ struct sys_readv_args;
struct sys_writev_args;
struct sys_settimeofday_args;
struct sys___settimeofday50_args;
struct sys___posix_fchown_args;
@ -307,14 +307,14 @@ struct sys_mkdir_args;
struct sys_rmdir_args;
struct sys_utimes_args;
struct sys___utimes50_args;
struct ultrix_sys_sigcleanup_args {
syscallarg(struct sigcontext *) sigcntxp;
};
check_syscall_args(ultrix_sys_sigcleanup)
struct sys_adjtime_args;
struct sys___adjtime50_args;
struct compat_43_sys_getpeername_args;
@ -557,13 +557,13 @@ int sys_getpgrp(struct lwp *, const void *, register_t *);
int ultrix_sys_setpgrp(struct lwp *, const struct ultrix_sys_setpgrp_args *, register_t *);
int sys_setitimer(struct lwp *, const struct sys_setitimer_args *, register_t *);
int sys___setitimer50(struct lwp *, const struct sys___setitimer50_args *, register_t *);
int ultrix_sys_wait3(struct lwp *, const struct ultrix_sys_wait3_args *, register_t *);
int compat_12_sys_swapon(struct lwp *, const struct compat_12_sys_swapon_args *, register_t *);
int sys_getitimer(struct lwp *, const struct sys_getitimer_args *, register_t *);
int sys___getitimer50(struct lwp *, const struct sys___getitimer50_args *, register_t *);
int compat_43_sys_gethostname(struct lwp *, const struct compat_43_sys_gethostname_args *, register_t *);
@ -615,9 +615,9 @@ int compat_43_sys_recvmsg(struct lwp *, const struct compat_43_sys_recvmsg_args
int compat_43_sys_sendmsg(struct lwp *, const struct compat_43_sys_sendmsg_args *, register_t *);
int sys_gettimeofday(struct lwp *, const struct sys_gettimeofday_args *, register_t *);
int sys___gettimeofday50(struct lwp *, const struct sys___gettimeofday50_args *, register_t *);
int sys_getrusage(struct lwp *, const struct sys_getrusage_args *, register_t *);
int sys___getrusage50(struct lwp *, const struct sys___getrusage50_args *, register_t *);
int sys_getsockopt(struct lwp *, const struct sys_getsockopt_args *, register_t *);
@ -625,7 +625,7 @@ int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *);
int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *);
int sys_settimeofday(struct lwp *, const struct sys_settimeofday_args *, register_t *);
int sys___settimeofday50(struct lwp *, const struct sys___settimeofday50_args *, register_t *);
int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *);
@ -655,11 +655,11 @@ int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *);
int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *);
int sys_utimes(struct lwp *, const struct sys_utimes_args *, register_t *);
int sys___utimes50(struct lwp *, const struct sys___utimes50_args *, register_t *);
int ultrix_sys_sigcleanup(struct lwp *, const struct ultrix_sys_sigcleanup_args *, register_t *);
int sys_adjtime(struct lwp *, const struct sys_adjtime_args *, register_t *);
int sys___adjtime50(struct lwp *, const struct sys___adjtime50_args *, register_t *);
int compat_43_sys_getpeername(struct lwp *, const struct compat_43_sys_getpeername_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: ultrix_syscalls.c,v 1.58 2009/01/13 22:33:17 pooka Exp $ */
/* $NetBSD: ultrix_syscalls.c,v 1.59 2009/01/17 15:50:12 he Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.49 2009/01/13 22:27:44 pooka Exp
* created from NetBSD: syscalls.master,v 1.50 2009/01/17 15:48:06 he Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.58 2009/01/13 22:33:17 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: ultrix_syscalls.c,v 1.59 2009/01/17 15:50:12 he Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -107,10 +107,10 @@ const char *const ultrix_syscallnames[] = {
/* 80 */ "setgroups",
/* 81 */ "getpgrp",
/* 82 */ "setpgrp",
/* 83 */ "setitimer",
/* 83 */ "__setitimer50",
/* 84 */ "wait3",
/* 85 */ "swapon",
/* 86 */ "getitimer",
/* 86 */ "__getitimer50",
/* 87 */ "gethostname",
/* 88 */ "sethostname",
/* 89 */ "getdtablesize",
@ -140,13 +140,13 @@ const char *const ultrix_syscallnames[] = {
/* 113 */ "recvmsg",
/* 114 */ "sendmsg",
/* 115 */ "#115 (obsolete vtrace)",
/* 116 */ "gettimeofday",
/* 117 */ "getrusage",
/* 116 */ "__gettimeofday50",
/* 117 */ "__getrusage50",
/* 118 */ "getsockopt",
/* 119 */ "#119 (unimplemented resuba)",
/* 120 */ "readv",
/* 121 */ "writev",
/* 122 */ "settimeofday",
/* 122 */ "__settimeofday50",
/* 123 */ "__posix_fchown",
/* 124 */ "fchmod",
/* 125 */ "recvfrom",
@ -162,9 +162,9 @@ const char *const ultrix_syscallnames[] = {
/* 135 */ "socketpair",
/* 136 */ "mkdir",
/* 137 */ "rmdir",
/* 138 */ "utimes",
/* 138 */ "__utimes50",
/* 139 */ "sigcleanup",
/* 140 */ "adjtime",
/* 140 */ "__adjtime50",
/* 141 */ "getpeername",
/* 142 */ "gethostid",
/* 143 */ "#143 (unimplemented old sethostid)",

View File

@ -1,14 +1,14 @@
/* $NetBSD: ultrix_sysent.c,v 1.61 2009/01/13 22:33:17 pooka Exp $ */
/* $NetBSD: ultrix_sysent.c,v 1.62 2009/01/17 15:50:12 he Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.49 2009/01/13 22:27:44 pooka Exp
* created from NetBSD: syscalls.master,v 1.50 2009/01/17 15:48:06 he Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ultrix_sysent.c,v 1.61 2009/01/13 22:33:17 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: ultrix_sysent.c,v 1.62 2009/01/17 15:50:12 he Exp $");
#if defined(_KERNEL_OPT)
#include "fs_nfs.h"
@ -192,14 +192,14 @@ struct sysent ultrix_sysent[] = {
(sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */
{ ns(struct ultrix_sys_setpgrp_args), 0,
(sy_call_t *)ultrix_sys_setpgrp }, /* 82 = setpgrp */
{ ns(struct sys_setitimer_args), 0,
(sy_call_t *)sys_setitimer }, /* 83 = setitimer */
{ ns(struct sys___setitimer50_args), 0,
(sy_call_t *)sys___setitimer50 }, /* 83 = __setitimer50 */
{ ns(struct ultrix_sys_wait3_args), 0,
(sy_call_t *)ultrix_sys_wait3 }, /* 84 = wait3 */
{ ns(struct compat_12_sys_swapon_args), 0,
(sy_call_t *)compat_12_sys_swapon },/* 85 = swapon */
{ ns(struct sys_getitimer_args), 0,
(sy_call_t *)sys_getitimer }, /* 86 = getitimer */
{ ns(struct sys___getitimer50_args), 0,
(sy_call_t *)sys___getitimer50 }, /* 86 = __getitimer50 */
{ ns(struct compat_43_sys_gethostname_args), 0,
(sy_call_t *)compat_43_sys_gethostname },/* 87 = gethostname */
{ ns(struct compat_43_sys_sethostname_args), 0,
@ -258,10 +258,10 @@ struct sysent ultrix_sysent[] = {
(sy_call_t *)compat_43_sys_sendmsg },/* 114 = sendmsg */
{ 0, 0, 0,
sys_nosys }, /* 115 = obsolete vtrace */
{ ns(struct sys_gettimeofday_args), 0,
(sy_call_t *)sys_gettimeofday }, /* 116 = gettimeofday */
{ ns(struct sys_getrusage_args), 0,
(sy_call_t *)sys_getrusage }, /* 117 = getrusage */
{ ns(struct sys___gettimeofday50_args), 0,
(sy_call_t *)sys___gettimeofday50 },/* 116 = __gettimeofday50 */
{ ns(struct sys___getrusage50_args), 0,
(sy_call_t *)sys___getrusage50 }, /* 117 = __getrusage50 */
{ ns(struct sys_getsockopt_args), 0,
(sy_call_t *)sys_getsockopt }, /* 118 = getsockopt */
{ 0, 0, 0,
@ -270,8 +270,8 @@ struct sysent ultrix_sysent[] = {
(sy_call_t *)sys_readv }, /* 120 = readv */
{ ns(struct sys_writev_args), 0,
(sy_call_t *)sys_writev }, /* 121 = writev */
{ ns(struct sys_settimeofday_args), 0,
(sy_call_t *)sys_settimeofday }, /* 122 = settimeofday */
{ ns(struct sys___settimeofday50_args), 0,
(sy_call_t *)sys___settimeofday50 },/* 122 = __settimeofday50 */
{ ns(struct sys___posix_fchown_args), 0,
(sy_call_t *)sys___posix_fchown }, /* 123 = __posix_fchown */
{ ns(struct sys_fchmod_args), 0,
@ -302,12 +302,12 @@ struct sysent ultrix_sysent[] = {
(sy_call_t *)sys_mkdir }, /* 136 = mkdir */
{ ns(struct sys_rmdir_args), 0,
(sy_call_t *)sys_rmdir }, /* 137 = rmdir */
{ ns(struct sys_utimes_args), 0,
(sy_call_t *)sys_utimes }, /* 138 = utimes */
{ ns(struct sys___utimes50_args), 0,
(sy_call_t *)sys___utimes50 }, /* 138 = __utimes50 */
{ ns(struct ultrix_sys_sigcleanup_args), 0,
(sy_call_t *)ultrix_sys_sigcleanup },/* 139 = sigcleanup */
{ ns(struct sys_adjtime_args), 0,
(sy_call_t *)sys_adjtime }, /* 140 = adjtime */
{ ns(struct sys___adjtime50_args), 0,
(sy_call_t *)sys___adjtime50 }, /* 140 = __adjtime50 */
{ ns(struct compat_43_sys_getpeername_args), 0,
(sy_call_t *)compat_43_sys_getpeername },/* 141 = getpeername */
{ 0, 0, 0,