From f4fdc411c5399da71a0309f0796582a526e67e6d Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 15 Mar 1997 00:06:47 +0000 Subject: [PATCH] Regen --- sys/compat/svr4/svr4_syscall.h | 5 ++++- sys/compat/svr4/svr4_syscallargs.h | 7 ++++++- sys/compat/svr4/svr4_syscalls.c | 4 ++-- sys/compat/svr4/svr4_sysent.c | 6 +++--- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/sys/compat/svr4/svr4_syscall.h b/sys/compat/svr4/svr4_syscall.h index af0f180afdb5..46b897b9059f 100644 --- a/sys/compat/svr4/svr4_syscall.h +++ b/sys/compat/svr4/svr4_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * 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: */ @@ -89,6 +89,9 @@ /* syscall: "access" ret: "int" args: "char *" "int" */ #define SVR4_SYS_access 33 +/* syscall: "nice" ret: "int" args: "int" */ +#define SVR4_SYS_nice 34 + /* syscall: "sync" ret: "int" args: */ #define SVR4_SYS_sync 36 diff --git a/sys/compat/svr4/svr4_syscallargs.h b/sys/compat/svr4/svr4_syscallargs.h index e1850c6a9e27..d8f41a2ef820 100644 --- a/sys/compat/svr4/svr4_syscallargs.h +++ b/sys/compat/svr4/svr4_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * 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; } @@ -65,6 +65,10 @@ struct svr4_sys_access_args { syscallarg(int) flags; }; +struct svr4_sys_nice_args { + syscallarg(int) prio; +}; + struct svr4_sys_kill_args { syscallarg(int) pid; 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_utime __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 svr4_sys_kill __P((struct proc *, void *, register_t *)); int svr4_sys_pgrpsys __P((struct proc *, void *, register_t *)); diff --git a/sys/compat/svr4/svr4_syscalls.c b/sys/compat/svr4/svr4_syscalls.c index 48199d843d86..f06a565a9771 100644 --- a/sys/compat/svr4/svr4_syscalls.c +++ b/sys/compat/svr4/svr4_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * 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[] = { @@ -40,7 +40,7 @@ char *svr4_syscallnames[] = { "#31 (unimplemented was stty)", /* 31 = unimplemented was stty */ "#32 (unimplemented was gtty)", /* 32 = unimplemented was gtty */ "access", /* 33 = access */ - "#34 (unimplemented nice)", /* 34 = unimplemented nice */ + "nice", /* 34 = nice */ "#35 (unimplemented statfs)", /* 35 = unimplemented statfs */ "sync", /* 36 = sync */ "kill", /* 37 = kill */ diff --git a/sys/compat/svr4/svr4_sysent.c b/sys/compat/svr4/svr4_sysent.c index 48b6e3b6492f..79a951fadf9b 100644 --- a/sys/compat/svr4/svr4_sysent.c +++ b/sys/compat/svr4/svr4_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * 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 @@ -108,8 +108,8 @@ struct sysent svr4_sysent[] = { sys_nosys }, /* 32 = unimplemented was gtty */ { 2, s(struct svr4_sys_access_args), svr4_sys_access }, /* 33 = access */ - { 0, 0, - sys_nosys }, /* 34 = unimplemented nice */ + { 1, s(struct svr4_sys_nice_args), + svr4_sys_nice }, /* 34 = nice */ { 0, 0, sys_nosys }, /* 35 = unimplemented statfs */ { 0, 0,