This commit is contained in:
christos 2003-09-13 18:44:49 +00:00
parent 2cfe0b047e
commit 0c73068f06
4 changed files with 50 additions and 10 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: ibcs2_syscall.h,v 1.36 2003/09/10 19:47:49 christos Exp $ */
/* $NetBSD: ibcs2_syscall.h,v 1.37 2003/09/13 18:44:49 christos Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2003/09/10 19:47:40 christos Exp
* created from NetBSD: syscalls.master,v 1.29 2003/09/13 18:44:30 christos Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -142,18 +142,27 @@
/* syscall: "sigsys" ret: "int" args: "int" "ibcs2_sig_t" */
#define IBCS2_SYS_sigsys 48
#ifdef SYSVMSG
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
#define IBCS2_SYS_msgsys 49
#else
#endif
/* syscall: "sysmachine" ret: "int" args: "int" "int" */
#define IBCS2_SYS_sysmachine 50
#ifdef SYSVSHM
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
#define IBCS2_SYS_shmsys 52
#else
#endif
#ifdef SYSVSEM
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define IBCS2_SYS_semsys 53
#else
#endif
/* syscall: "ioctl" ret: "int" args: "int" "int" "caddr_t" */
#define IBCS2_SYS_ioctl 54
@ -225,9 +234,15 @@
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define IBCS2_SYS_fchown 94
#ifdef __HAVE_SIGINFO
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
#define IBCS2_SYS_sigreturn 96
#else
/* syscall: "sigreturn" ret: "int" args: "struct sigcontext *" */
#define IBCS2_SYS_sigreturn 96
#endif
/* syscall: "sigaltstack" ret: "int" args: "const struct ibcs2_sigaltstack *" "struct ibcs2_sigaltstack *" */
#define IBCS2_SYS_sigaltstack 97

View File

@ -1,10 +1,10 @@
/* $NetBSD: ibcs2_syscallargs.h,v 1.37 2003/09/10 19:47:49 christos Exp $ */
/* $NetBSD: ibcs2_syscallargs.h,v 1.38 2003/09/13 18:44:50 christos Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2003/09/10 19:47:40 christos Exp
* created from NetBSD: syscalls.master,v 1.29 2003/09/13 18:44:30 christos Exp
*/
#ifndef _IBCS2_SYS__SYSCALLARGS_H_
@ -180,6 +180,7 @@ struct ibcs2_sys_sigsys_args {
syscallarg(int) sig;
syscallarg(ibcs2_sig_t) fp;
};
#ifdef SYSVMSG
struct ibcs2_sys_msgsys_args {
syscallarg(int) which;
@ -189,11 +190,14 @@ struct ibcs2_sys_msgsys_args {
syscallarg(int) a5;
syscallarg(int) a6;
};
#else
#endif
struct ibcs2_sys_sysmachine_args {
syscallarg(int) cmd;
syscallarg(int) arg;
};
#ifdef SYSVSHM
struct ibcs2_sys_shmsys_args {
syscallarg(int) which;
@ -201,6 +205,9 @@ struct ibcs2_sys_shmsys_args {
syscallarg(int) a3;
syscallarg(int) a4;
};
#else
#endif
#ifdef SYSVSEM
struct ibcs2_sys_semsys_args {
syscallarg(int) which;
@ -209,6 +216,8 @@ struct ibcs2_sys_semsys_args {
syscallarg(int) a4;
syscallarg(int) a5;
};
#else
#endif
struct ibcs2_sys_ioctl_args {
syscallarg(int) fd;
@ -295,6 +304,9 @@ struct ibcs2_sys_readlink_args {
syscallarg(char *) buf;
syscallarg(int) count;
};
#ifdef __HAVE_SIGINFO
#else
#endif
struct ibcs2_sys_sigaltstack_args {
syscallarg(const struct ibcs2_sigaltstack *) nss;
@ -502,7 +514,11 @@ int ibcs2_sys_lstat(struct lwp *, void *, register_t *);
int ibcs2_sys_readlink(struct lwp *, void *, register_t *);
int sys_fchmod(struct lwp *, void *, register_t *);
int sys___posix_fchown(struct lwp *, void *, register_t *);
#ifdef __HAVE_SIGINFO
int compat_16_sys___sigreturn14(struct lwp *, void *, register_t *);
#else
int sys___sigreturn14(struct lwp *, void *, register_t *);
#endif
int ibcs2_sys_sigaltstack(struct lwp *, void *, register_t *);
int ibcs2_sys_statvfs(struct lwp *, void *, register_t *);
int ibcs2_sys_fstatvfs(struct lwp *, void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: ibcs2_syscalls.c,v 1.36 2003/09/10 19:47:49 christos Exp $ */
/* $NetBSD: ibcs2_syscalls.c,v 1.37 2003/09/13 18:44:51 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2003/09/10 19:47:40 christos Exp
* created from NetBSD: syscalls.master,v 1.29 2003/09/13 18:44:30 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ibcs2_syscalls.c,v 1.36 2003/09/10 19:47:49 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: ibcs2_syscalls.c,v 1.37 2003/09/13 18:44:51 christos Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -135,7 +135,11 @@ const char *const ibcs2_syscallnames[] = {
"fchmod", /* 93 = fchmod */
"fchown", /* 94 = fchown */
"#95 (unimplemented)", /* 95 = unimplemented */
#ifdef __HAVE_SIGINFO
"sigreturn", /* 96 = sigreturn */
#else
"sigreturn", /* 96 = sigreturn */
#endif
"sigaltstack", /* 97 = sigaltstack */
"#98 (unimplemented)", /* 98 = unimplemented */
"#99 (unimplemented)", /* 99 = unimplemented */

View File

@ -1,14 +1,14 @@
/* $NetBSD: ibcs2_sysent.c,v 1.37 2003/09/10 19:47:50 christos Exp $ */
/* $NetBSD: ibcs2_sysent.c,v 1.38 2003/09/13 18:44:51 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2003/09/10 19:47:40 christos Exp
* created from NetBSD: syscalls.master,v 1.29 2003/09/13 18:44:30 christos Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ibcs2_sysent.c,v 1.37 2003/09/10 19:47:50 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: ibcs2_sysent.c,v 1.38 2003/09/13 18:44:51 christos Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@ -234,8 +234,13 @@ struct sysent ibcs2_sysent[] = {
sys___posix_fchown }, /* 94 = fchown */
{ 0, 0, 0,
sys_nosys }, /* 95 = unimplemented */
#ifdef __HAVE_SIGINFO
{ 1, s(struct compat_16_sys___sigreturn14_args), 0,
compat_16_sys___sigreturn14 }, /* 96 = sigreturn */
#else
{ 1, s(struct sys___sigreturn14_args), 0,
sys___sigreturn14 }, /* 96 = sigreturn */
#endif
{ 2, s(struct ibcs2_sys_sigaltstack_args), 0,
ibcs2_sys_sigaltstack }, /* 97 = sigaltstack */
{ 0, 0, 0,