This commit is contained in:
christos 1997-03-15 00:06:47 +00:00
parent 015524c601
commit f4fdc411c5
4 changed files with 15 additions and 7 deletions

View File

@ -2,7 +2,7 @@
* System call numbers. * System call numbers.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp * created from NetBSD: syscalls.master,v 1.21 1997/03/15 00:01:19 christos Exp
*/ */
/* syscall: "syscall" ret: "int" args: */ /* syscall: "syscall" ret: "int" args: */
@ -89,6 +89,9 @@
/* syscall: "access" ret: "int" args: "char *" "int" */ /* syscall: "access" ret: "int" args: "char *" "int" */
#define SVR4_SYS_access 33 #define SVR4_SYS_access 33
/* syscall: "nice" ret: "int" args: "int" */
#define SVR4_SYS_nice 34
/* syscall: "sync" ret: "int" args: */ /* syscall: "sync" ret: "int" args: */
#define SVR4_SYS_sync 36 #define SVR4_SYS_sync 36

View File

@ -2,7 +2,7 @@
* System call argument lists. * System call argument lists.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp * created from NetBSD: syscalls.master,v 1.21 1997/03/15 00:01:19 christos Exp
*/ */
#define syscallarg(x) union { x datum; register_t pad; } #define syscallarg(x) union { x datum; register_t pad; }
@ -65,6 +65,10 @@ struct svr4_sys_access_args {
syscallarg(int) flags; syscallarg(int) flags;
}; };
struct svr4_sys_nice_args {
syscallarg(int) prio;
};
struct svr4_sys_kill_args { struct svr4_sys_kill_args {
syscallarg(int) pid; syscallarg(int) pid;
syscallarg(int) signum; syscallarg(int) signum;
@ -361,6 +365,7 @@ int svr4_sys_fstat __P((struct proc *, void *, register_t *));
int svr4_sys_pause __P((struct proc *, void *, register_t *)); int svr4_sys_pause __P((struct proc *, void *, register_t *));
int svr4_sys_utime __P((struct proc *, void *, register_t *)); int svr4_sys_utime __P((struct proc *, void *, register_t *));
int svr4_sys_access __P((struct proc *, void *, register_t *)); int svr4_sys_access __P((struct proc *, void *, register_t *));
int svr4_sys_nice __P((struct proc *, void *, register_t *));
int sys_sync __P((struct proc *, void *, register_t *)); int sys_sync __P((struct proc *, void *, register_t *));
int svr4_sys_kill __P((struct proc *, void *, register_t *)); int svr4_sys_kill __P((struct proc *, void *, register_t *));
int svr4_sys_pgrpsys __P((struct proc *, void *, register_t *)); int svr4_sys_pgrpsys __P((struct proc *, void *, register_t *));

View File

@ -2,7 +2,7 @@
* System call names. * System call names.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp * created from NetBSD: syscalls.master,v 1.21 1997/03/15 00:01:19 christos Exp
*/ */
char *svr4_syscallnames[] = { char *svr4_syscallnames[] = {
@ -40,7 +40,7 @@ char *svr4_syscallnames[] = {
"#31 (unimplemented was stty)", /* 31 = unimplemented was stty */ "#31 (unimplemented was stty)", /* 31 = unimplemented was stty */
"#32 (unimplemented was gtty)", /* 32 = unimplemented was gtty */ "#32 (unimplemented was gtty)", /* 32 = unimplemented was gtty */
"access", /* 33 = access */ "access", /* 33 = access */
"#34 (unimplemented nice)", /* 34 = unimplemented nice */ "nice", /* 34 = nice */
"#35 (unimplemented statfs)", /* 35 = unimplemented statfs */ "#35 (unimplemented statfs)", /* 35 = unimplemented statfs */
"sync", /* 36 = sync */ "sync", /* 36 = sync */
"kill", /* 37 = kill */ "kill", /* 37 = kill */

View File

@ -2,7 +2,7 @@
* System call switch table. * System call switch table.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.20 1996/12/06 03:25:07 christos Exp * created from NetBSD: syscalls.master,v 1.21 1997/03/15 00:01:19 christos Exp
*/ */
#include <sys/param.h> #include <sys/param.h>
@ -108,8 +108,8 @@ struct sysent svr4_sysent[] = {
sys_nosys }, /* 32 = unimplemented was gtty */ sys_nosys }, /* 32 = unimplemented was gtty */
{ 2, s(struct svr4_sys_access_args), { 2, s(struct svr4_sys_access_args),
svr4_sys_access }, /* 33 = access */ svr4_sys_access }, /* 33 = access */
{ 0, 0, { 1, s(struct svr4_sys_nice_args),
sys_nosys }, /* 34 = unimplemented nice */ svr4_sys_nice }, /* 34 = nice */
{ 0, 0, { 0, 0,
sys_nosys }, /* 35 = unimplemented statfs */ sys_nosys }, /* 35 = unimplemented statfs */
{ 0, 0, { 0, 0,