This commit is contained in:
drochner 2004-05-11 10:55:29 +00:00
parent c736283f11
commit 644e697b54
4 changed files with 10 additions and 69 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: freebsd_syscall.h,v 1.55 2004/05/10 20:47:14 jonathan Exp $ */
/* $NetBSD: freebsd_syscall.h,v 1.56 2004/05/11 10:55:29 drochner Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.45 2004/05/10 20:27:42 christos Exp
* created from NetBSD: syscalls.master,v 1.46 2004/05/11 10:54:51 drochner Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -59,13 +59,9 @@
/* syscall: "break" ret: "int" args: "char *" */
#define FREEBSD_SYS_break 17
#ifdef COMPAT_20
/* syscall: "getfsstat" ret: "int" args: "struct statfs12 *" "long" "int" */
#define FREEBSD_SYS_getfsstat 18
#else
/* 18 is excluded compat_20_sys_getfsstat */
#endif
/* syscall: "olseek" ret: "long" args: "int" "long" "int" */
#define FREEBSD_SYS_olseek 19
@ -462,13 +458,9 @@
/* syscall: "statfs" ret: "int" args: "const char *" "struct statfs12 *" */
#define FREEBSD_SYS_statfs 157
#ifdef COMPAT_20
/* syscall: "fstatfs" ret: "int" args: "int" "struct statfs12 *" */
#define FREEBSD_SYS_fstatfs 158
#else
/* 158 is excluded compat_20_sys_fstatfs */
#endif
#ifdef NFS
/* syscall: "getfh" ret: "int" args: "const char *" "fhandle_t *" */
#define FREEBSD_SYS_getfh 161
@ -707,13 +699,9 @@
/* syscall: "__lstat13" ret: "int" args: "const char *" "struct stat *" */
#define FREEBSD_SYS___lstat13 280
#ifdef COMPAT_20
/* syscall: "fhstatfs" ret: "int" args: "const fhandle_t *" "struct statfs12 *" */
#define FREEBSD_SYS_fhstatfs 297
#else
/* 297 is excluded compat_20_sys_fhstatfs */
#endif
/* syscall: "fhopen" ret: "int" args: "const fhandle_t *" "int" */
#define FREEBSD_SYS_fhopen 298

View File

@ -1,10 +1,10 @@
/* $NetBSD: freebsd_syscallargs.h,v 1.57 2004/05/10 20:47:14 jonathan Exp $ */
/* $NetBSD: freebsd_syscallargs.h,v 1.58 2004/05/11 10:55:29 drochner Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.45 2004/05/10 20:27:42 christos Exp
* created from NetBSD: syscalls.master,v 1.46 2004/05/11 10:54:51 drochner Exp
*/
#ifndef _FREEBSD_SYS__SYSCALLARGS_H_
@ -67,9 +67,6 @@ struct freebsd_sys_chown_args {
syscallarg(int) uid;
syscallarg(int) gid;
};
#ifdef COMPAT_20
#else
#endif
struct freebsd_sys_mount_args {
syscallarg(int) type;
@ -188,9 +185,6 @@ struct freebsd_sys_statfs_args {
syscallarg(const char *) path;
syscallarg(struct statfs12 *) buf;
};
#ifdef COMPAT_20
#else
#endif
#ifdef NFS
struct freebsd_sys_getfh_args {
@ -308,9 +302,6 @@ struct freebsd_sys_lchown_args {
syscallarg(int) uid;
syscallarg(int) gid;
};
#ifdef COMPAT_20
#else
#endif
struct freebsd_sys_sched_setparam_args {
syscallarg(pid_t) pid;
@ -392,11 +383,8 @@ int freebsd_sys_chown(struct lwp *, void *, register_t *);
int sys_obreak(struct lwp *, void *, register_t *);
#ifdef COMPAT_20
int compat_20_sys_getfsstat(struct lwp *, void *, register_t *);
#else
#endif
int compat_43_sys_lseek(struct lwp *, void *, register_t *);
int sys_getpid_with_ppid(struct lwp *, void *, register_t *);
@ -658,11 +646,8 @@ int compat_43_sys_getdirentries(struct lwp *, void *, register_t *);
int freebsd_sys_statfs(struct lwp *, void *, register_t *);
#ifdef COMPAT_20
int compat_20_sys_fstatfs(struct lwp *, void *, register_t *);
#else
#endif
#ifdef NFS
int freebsd_sys_getfh(struct lwp *, void *, register_t *);
@ -828,11 +813,8 @@ int sys___fstat13(struct lwp *, void *, register_t *);
int sys___lstat13(struct lwp *, void *, register_t *);
#ifdef COMPAT_20
int compat_20_sys_fhstatfs(struct lwp *, void *, register_t *);
#else
#endif
int sys_fhopen(struct lwp *, void *, register_t *);
int sys_fhstat(struct lwp *, void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: freebsd_syscalls.c,v 1.55 2004/05/10 20:47:14 jonathan Exp $ */
/* $NetBSD: freebsd_syscalls.c,v 1.56 2004/05/11 10:55:29 drochner Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.45 2004/05/10 20:27:42 christos Exp
* created from NetBSD: syscalls.master,v 1.46 2004/05/11 10:54:51 drochner Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.55 2004/05/10 20:47:14 jonathan Exp $");
__KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.56 2004/05/11 10:55:29 drochner Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -17,7 +17,6 @@ __KERNEL_RCSID(0, "$NetBSD: freebsd_syscalls.c,v 1.55 2004/05/10 20:47:14 jonath
#include "opt_ntp.h"
#include "opt_sysv.h"
#include "opt_compat_43.h"
#include "opt_compat_netbsd.h"
#include "opt_posix.h"
#include "fs_lfs.h"
#include "fs_nfs.h"
@ -51,11 +50,7 @@ const char *const freebsd_syscallnames[] = {
"chmod", /* 15 = chmod */
"chown", /* 16 = chown */
"break", /* 17 = break */
#ifdef COMPAT_20
"getfsstat", /* 18 = getfsstat */
#else
"#18 (excluded compat_20_sys_getfsstat)", /* 18 = excluded compat_20_sys_getfsstat */
#endif
"olseek", /* 19 = olseek */
"getpid_with_ppid", /* 20 = getpid_with_ppid */
"mount", /* 21 = mount */
@ -207,11 +202,7 @@ const char *const freebsd_syscallnames[] = {
#endif
"ogetdirentries", /* 156 = ogetdirentries */
"statfs", /* 157 = statfs */
#ifdef COMPAT_20
"fstatfs", /* 158 = fstatfs */
#else
"#158 (excluded compat_20_sys_fstatfs)", /* 158 = excluded compat_20_sys_fstatfs */
#endif
"#159 (unimplemented)", /* 159 = unimplemented */
"#160 (unimplemented)", /* 160 = unimplemented */
#ifdef NFS
@ -406,11 +397,7 @@ const char *const freebsd_syscallnames[] = {
"#294 (unimplemented)", /* 294 = unimplemented */
"#295 (unimplemented)", /* 295 = unimplemented */
"#296 (unimplemented)", /* 296 = unimplemented */
#ifdef COMPAT_20
"fhstatfs", /* 297 = fhstatfs */
#else
"#297 (excluded compat_20_sys_fhstatfs)", /* 297 = excluded compat_20_sys_fhstatfs */
#endif
"fhopen", /* 298 = fhopen */
"fhstat", /* 299 = fhstat */
"#300 (unimplemented modnext)", /* 300 = unimplemented modnext */

View File

@ -1,14 +1,14 @@
/* $NetBSD: freebsd_sysent.c,v 1.57 2004/05/10 20:47:14 jonathan Exp $ */
/* $NetBSD: freebsd_sysent.c,v 1.58 2004/05/11 10:55:29 drochner Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.45 2004/05/10 20:27:42 christos Exp
* created from NetBSD: syscalls.master,v 1.46 2004/05/11 10:54:51 drochner Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.57 2004/05/10 20:47:14 jonathan Exp $");
__KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.58 2004/05/11 10:55:29 drochner Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -16,7 +16,6 @@ __KERNEL_RCSID(0, "$NetBSD: freebsd_sysent.c,v 1.57 2004/05/10 20:47:14 jonathan
#include "opt_ntp.h"
#include "opt_sysv.h"
#include "opt_compat_43.h"
#include "opt_compat_netbsd.h"
#include "opt_posix.h"
#include "fs_lfs.h"
#include "fs_nfs.h"
@ -69,13 +68,8 @@ struct sysent freebsd_sysent[] = {
freebsd_sys_chown }, /* 16 = chown */
{ 1, s(struct sys_obreak_args), 0,
sys_obreak }, /* 17 = break */
#ifdef COMPAT_20
{ 3, s(struct compat_20_sys_getfsstat_args), 0,
compat_20_sys_getfsstat }, /* 18 = getfsstat */
#else
{ 0, 0, 0,
sys_nosys }, /* 18 = excluded compat_20_sys_getfsstat */
#endif
{ 3, s(struct compat_43_sys_lseek_args), 0,
compat_43_sys_lseek }, /* 19 = olseek */
{ 0, 0, 0,
@ -369,13 +363,8 @@ struct sysent freebsd_sysent[] = {
compat_43_sys_getdirentries }, /* 156 = ogetdirentries */
{ 2, s(struct freebsd_sys_statfs_args), 0,
freebsd_sys_statfs }, /* 157 = statfs */
#ifdef COMPAT_20
{ 2, s(struct compat_20_sys_fstatfs_args), 0,
compat_20_sys_fstatfs }, /* 158 = fstatfs */
#else
{ 0, 0, 0,
sys_nosys }, /* 158 = excluded compat_20_sys_fstatfs */
#endif
{ 0, 0, 0,
sys_nosys }, /* 159 = unimplemented */
{ 0, 0, 0,
@ -731,13 +720,8 @@ struct sysent freebsd_sysent[] = {
sys_nosys }, /* 295 = unimplemented */
{ 0, 0, 0,
sys_nosys }, /* 296 = unimplemented */
#ifdef COMPAT_20
{ 2, s(struct compat_20_sys_fhstatfs_args), 0,
compat_20_sys_fhstatfs }, /* 297 = fhstatfs */
#else
{ 0, 0, 0,
sys_nosys }, /* 297 = excluded compat_20_sys_fhstatfs */
#endif
{ 2, s(struct sys_fhopen_args), 0,
sys_fhopen }, /* 298 = fhopen */
{ 2, s(struct sys_fhstat_args), 0,