This commit is contained in:
drochner 2006-05-29 09:58:51 +00:00
parent 42a3bd3098
commit 4f2e2f7d77
4 changed files with 31 additions and 21 deletions

View File

@ -1,14 +1,14 @@
/* $NetBSD: init_sysent.c,v 1.172 2006/05/04 17:50:28 christos Exp $ */
/* $NetBSD: init_sysent.c,v 1.173 2006/05/29 09:58:51 drochner Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.152 2006/05/04 17:48:56 christos Exp
* created from NetBSD: syscalls.master,v 1.153 2006/05/29 09:57:55 drochner Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.172 2006/05/04 17:50:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.173 2006/05/29 09:58:51 drochner Exp $");
#include "opt_ktrace.h"
#include "opt_nfsserver.h"
@ -485,8 +485,8 @@ struct sysent sysent[] = {
sys_pread }, /* 173 = pread */
{ 5, s(struct sys_pwrite_args), 0,
sys_pwrite }, /* 174 = pwrite */
{ 1, s(struct sys_ntp_gettime_args), 0,
sys_ntp_gettime }, /* 175 = ntp_gettime */
{ 1, s(struct compat_30_sys_ntp_gettime_args), 0,
compat_30(sys_ntp_gettime) }, /* 175 = compat_30 ntp_gettime */
#if defined(NTP) || !defined(_KERNEL)
{ 1, s(struct sys_ntp_adjtime_args), 0,
sys_ntp_adjtime }, /* 176 = ntp_adjtime */
@ -1036,8 +1036,8 @@ struct sysent sysent[] = {
sys_posix_fadvise }, /* 391 = posix_fadvise */
{ 2, s(struct sys___fhstat30_args), 0,
sys___fhstat30 }, /* 392 = __fhstat30 */
{ 0, 0, 0,
sys_nosys }, /* 393 = filler */
{ 1, s(struct sys___ntp_gettime30_args), 0,
sys___ntp_gettime30 }, /* 393 = __ntp_gettime30 */
{ 0, 0, 0,
sys_nosys }, /* 394 = filler */
{ 0, 0, 0,

View File

@ -1,14 +1,14 @@
/* $NetBSD: syscalls.c,v 1.167 2006/05/04 17:50:28 christos Exp $ */
/* $NetBSD: syscalls.c,v 1.168 2006/05/29 09:58:51 drochner Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.152 2006/05/04 17:48:56 christos Exp
* created from NetBSD: syscalls.master,v 1.153 2006/05/29 09:57:55 drochner Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.167 2006/05/04 17:50:28 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.168 2006/05/29 09:58:51 drochner Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -236,7 +236,7 @@ const char *const syscallnames[] = {
"#172 (unimplemented)", /* 172 = unimplemented */
"pread", /* 173 = pread */
"pwrite", /* 174 = pwrite */
"ntp_gettime", /* 175 = ntp_gettime */
"compat_30_ntp_gettime", /* 175 = compat_30 ntp_gettime */
#if defined(NTP) || !defined(_KERNEL)
"ntp_adjtime", /* 176 = ntp_adjtime */
#else
@ -528,4 +528,5 @@ const char *const syscallnames[] = {
"__getdents30", /* 390 = __getdents30 */
"posix_fadvise", /* 391 = posix_fadvise */
"__fhstat30", /* 392 = __fhstat30 */
"__ntp_gettime30", /* 393 = __ntp_gettime30 */
};

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.166 2006/05/04 17:50:28 christos Exp $ */
/* $NetBSD: syscall.h,v 1.167 2006/05/29 09:58:51 drochner Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.152 2006/05/04 17:48:56 christos Exp
* created from NetBSD: syscalls.master,v 1.153 2006/05/29 09:57:55 drochner Exp
*/
#ifndef _SYS_SYSCALL_H_
@ -519,8 +519,8 @@
/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
#define SYS_pwrite 174
/* syscall: "ntp_gettime" ret: "int" args: "struct ntptimeval *" */
#define SYS_ntp_gettime 175
/* syscall: "compat_30_ntp_gettime" ret: "int" args: "struct ntptimeval30 *" */
#define SYS_compat_30_ntp_gettime 175
#if defined(NTP) || !defined(_KERNEL)
/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
@ -1082,6 +1082,9 @@
/* syscall: "__fhstat30" ret: "int" args: "const fhandle_t *" "struct stat *" */
#define SYS___fhstat30 392
#define SYS_MAXSYSCALL 393
/* syscall: "__ntp_gettime30" ret: "int" args: "struct ntptimeval *" */
#define SYS___ntp_gettime30 393
#define SYS_MAXSYSCALL 394
#define SYS_NSYSENT 512
#endif /* _SYS_SYSCALL_H_ */

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.148 2006/05/04 17:50:28 christos Exp $ */
/* $NetBSD: syscallargs.h,v 1.149 2006/05/29 09:58:51 drochner Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.152 2006/05/04 17:48:56 christos Exp
* created from NetBSD: syscalls.master,v 1.153 2006/05/29 09:57:55 drochner Exp
*/
#ifndef _SYS_SYSCALLARGS_H_
@ -796,8 +796,8 @@ struct sys_pwrite_args {
syscallarg(off_t) offset;
};
struct sys_ntp_gettime_args {
syscallarg(struct ntptimeval *) ntvp;
struct compat_30_sys_ntp_gettime_args {
syscallarg(struct ntptimeval30 *) ntvp;
};
#if defined(NTP) || !defined(_KERNEL)
@ -1699,6 +1699,10 @@ struct sys___fhstat30_args {
syscallarg(struct stat *) sb;
};
struct sys___ntp_gettime30_args {
syscallarg(struct ntptimeval *) ntvp;
};
/*
* System call prototypes.
*/
@ -2039,7 +2043,7 @@ int sys_pread(struct lwp *, void *, register_t *);
int sys_pwrite(struct lwp *, void *, register_t *);
int sys_ntp_gettime(struct lwp *, void *, register_t *);
int compat_30_sys_ntp_gettime(struct lwp *, void *, register_t *);
#if defined(NTP) || !defined(_KERNEL)
int sys_ntp_adjtime(struct lwp *, void *, register_t *);
@ -2398,4 +2402,6 @@ int sys_posix_fadvise(struct lwp *, void *, register_t *);
int sys___fhstat30(struct lwp *, void *, register_t *);
int sys___ntp_gettime30(struct lwp *, void *, register_t *);
#endif /* _SYS_SYSCALLARGS_H_ */