This commit is contained in:
thorpej 1999-08-25 04:48:48 +00:00
parent 710fa26673
commit c1f3fb3299
4 changed files with 31 additions and 31 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: freebsd_syscall.h,v 1.30 1999/07/12 22:04:01 kleink Exp $ */
/* $NetBSD: freebsd_syscall.h,v 1.31 1999/08/25 04:48:48 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.24 1999/07/12 21:55:20 kleink Exp
* created from NetBSD: syscalls.master,v 1.25 1999/08/25 04:48:21 thorpej Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -565,7 +565,7 @@
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define FREEBSD_SYS_poll 209
/* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union semun *" */
/* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union __semun *" */
#define FREEBSD_SYS___semctl 220
/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
@ -577,7 +577,7 @@
/* syscall: "semconfig" ret: "int" args: "int" */
#define FREEBSD_SYS_semconfig 223
/* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
/* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid14_ds *" */
#define FREEBSD_SYS_msgctl 224
/* syscall: "msgget" ret: "int" args: "key_t" "int" */
@ -592,7 +592,7 @@
/* syscall: "shmat" ret: "int" args: "int" "void *" "int" */
#define FREEBSD_SYS_shmat 228
/* syscall: "shmctl" ret: "int" args: "int" "int" "struct shmid_ds *" */
/* syscall: "shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */
#define FREEBSD_SYS_shmctl 229
/* syscall: "shmdt" ret: "int" args: "void *" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: freebsd_syscallargs.h,v 1.30 1999/07/12 22:04:01 kleink Exp $ */
/* $NetBSD: freebsd_syscallargs.h,v 1.31 1999/08/25 04:48:48 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.24 1999/07/12 21:55:20 kleink Exp
* created from NetBSD: syscalls.master,v 1.25 1999/08/25 04:48:21 thorpej Exp
*/
#ifndef _FREEBSD_SYS__SYSCALLARGS_H_
@ -14,17 +14,17 @@
#undef syscallarg
#endif
#define syscallarg(x) \
union { \
register_t pad; \
struct { x datum; } le; \
struct { \
int8_t pad[ (sizeof (register_t) < sizeof (x)) \
? 0 \
: sizeof (register_t) - sizeof (x)]; \
x datum; \
} be; \
}
#define syscallarg(x) \
union { \
register_t pad; \
struct { x datum; } le; \
struct { \
int8_t pad[ (sizeof (register_t) < sizeof (x)) \
? 0 \
: sizeof (register_t) - sizeof (x)]; \
x datum; \
} be; \
}
struct freebsd_sys_open_args {
syscallarg(const char *) path;
@ -464,14 +464,14 @@ int sys_reboot __P((struct proc *, void *, register_t *));
#endif
int sys_poll __P((struct proc *, void *, register_t *));
#ifdef SYSVSEM
int sys___semctl __P((struct proc *, void *, register_t *));
int compat_14_sys___semctl __P((struct proc *, void *, register_t *));
int sys_semget __P((struct proc *, void *, register_t *));
int sys_semop __P((struct proc *, void *, register_t *));
int sys_semconfig __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVMSG
int sys_msgctl __P((struct proc *, void *, register_t *));
int compat_14_sys_msgctl __P((struct proc *, void *, register_t *));
int sys_msgget __P((struct proc *, void *, register_t *));
int sys_msgsnd __P((struct proc *, void *, register_t *));
int sys_msgrcv __P((struct proc *, void *, register_t *));
@ -479,7 +479,7 @@ int sys_msgrcv __P((struct proc *, void *, register_t *));
#endif
#ifdef SYSVSHM
int sys_shmat __P((struct proc *, void *, register_t *));
int sys_shmctl __P((struct proc *, void *, register_t *));
int compat_14_sys_shmctl __P((struct proc *, void *, register_t *));
int sys_shmdt __P((struct proc *, void *, register_t *));
int sys_shmget __P((struct proc *, void *, register_t *));
#else

View File

@ -1,10 +1,10 @@
/* $NetBSD: freebsd_syscalls.c,v 1.29 1999/07/12 22:04:02 kleink Exp $ */
/* $NetBSD: freebsd_syscalls.c,v 1.30 1999/08/25 04:48:48 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.24 1999/07/12 21:55:20 kleink Exp
* created from NetBSD: syscalls.master,v 1.25 1999/08/25 04:48:21 thorpej Exp
*/
#if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: freebsd_sysent.c,v 1.31 1999/07/12 22:04:02 kleink Exp $ */
/* $NetBSD: freebsd_sysent.c,v 1.32 1999/08/25 04:48:48 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.24 1999/07/12 21:55:20 kleink Exp
* created from NetBSD: syscalls.master,v 1.25 1999/08/25 04:48:21 thorpej Exp
*/
#include "opt_ktrace.h"
@ -521,8 +521,8 @@ struct sysent freebsd_sysent[] = {
{ 0, 0,
sys_nosys }, /* 219 = unimplemented */
#ifdef SYSVSEM
{ 4, s(struct sys___semctl_args),
sys___semctl }, /* 220 = __semctl */
{ 4, s(struct compat_14_sys___semctl_args),
compat_14_sys___semctl }, /* 220 = __semctl */
{ 3, s(struct sys_semget_args),
sys_semget }, /* 221 = semget */
{ 3, s(struct sys_semop_args),
@ -540,8 +540,8 @@ struct sysent freebsd_sysent[] = {
sys_nosys }, /* 223 = unimplemented semconfig */
#endif
#ifdef SYSVMSG
{ 3, s(struct sys_msgctl_args),
sys_msgctl }, /* 224 = msgctl */
{ 3, s(struct compat_14_sys_msgctl_args),
compat_14_sys_msgctl }, /* 224 = msgctl */
{ 2, s(struct sys_msgget_args),
sys_msgget }, /* 225 = msgget */
{ 4, s(struct sys_msgsnd_args),
@ -561,8 +561,8 @@ struct sysent freebsd_sysent[] = {
#ifdef SYSVSHM
{ 3, s(struct sys_shmat_args),
sys_shmat }, /* 228 = shmat */
{ 3, s(struct sys_shmctl_args),
sys_shmctl }, /* 229 = shmctl */
{ 3, s(struct compat_14_sys_shmctl_args),
compat_14_sys_shmctl }, /* 229 = shmctl */
{ 1, s(struct sys_shmdt_args),
sys_shmdt }, /* 230 = shmdt */
{ 3, s(struct sys_shmget_args),