regen after schedctl addition.

This commit is contained in:
dmcmahill 2003-12-07 01:50:10 +00:00
parent 82d69cf8b8
commit a243add09b
4 changed files with 205 additions and 14 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: svr4_32_syscall.h,v 1.9 2003/01/19 16:49:12 thorpej Exp $ */
/* $NetBSD: svr4_32_syscall.h,v 1.10 2003/12/07 01:50:10 dmcmahill Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.6 2003/01/19 16:47:17 thorpej Exp
* created from NetBSD: syscalls.master,v 1.7 2003/12/07 01:36:58 dmcmahill Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -121,18 +121,27 @@
/* syscall: "signal" ret: "int" args: "int" "svr4_sig_t" */
#define SVR4_32_SYS_signal 48
#ifdef SYSVMSG
/* syscall: "msgsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define SVR4_32_SYS_msgsys 49
#else
#endif
/* syscall: "sysarch" ret: "int" args: "int" "netbsd32_voidp" */
#define SVR4_32_SYS_sysarch 50
#ifdef SYSVSHM
/* syscall: "shmsys" ret: "int" args: "int" "int" "int" "int" */
#define SVR4_32_SYS_shmsys 52
#else
#endif
#ifdef SYSVSEM
/* syscall: "semsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define SVR4_32_SYS_semsys 53
#else
#endif
/* syscall: "ioctl" ret: "int" args: "int" "netbsd32_u_long" "netbsd32_caddr_t" */
#define SVR4_32_SYS_ioctl 54
@ -386,6 +395,9 @@
/* syscall: "netbsd32_setregid" ret: "int" args: "int" "int" */
#define SVR4_32_SYS_netbsd32_setregid 203
/* syscall: "schedctl" ret: "int" args: "unsigned int" "int" "void **" */
#define SVR4_32_SYS_schedctl 206
/* syscall: "resolvepath" ret: "int" args: "const netbsd32_charp" "netbsd32_charp" "netbsd32_size_t" */
#define SVR4_32_SYS_resolvepath 209
@ -482,9 +494,12 @@
/* syscall: "netbsd32_ntp_gettime" ret: "int" args: "netbsd32_ntptimevalp_t" */
#define SVR4_32_SYS_netbsd32_ntp_gettime 248
#if defined(NTP) || !defined(_KERNEL)
/* syscall: "netbsd32_ntp_adjtime" ret: "int" args: "netbsd32_timexp_t" */
#define SVR4_32_SYS_netbsd32_ntp_adjtime 249
#else
/* 249 is excluded ntp_adjtime */
#endif
#define SVR4_32_SYS_MAXSYSCALL 256
#define SVR4_32_SYS_NSYSENT 256

View File

@ -1,10 +1,10 @@
/* $NetBSD: svr4_32_syscallargs.h,v 1.9 2003/01/19 16:49:13 thorpej Exp $ */
/* $NetBSD: svr4_32_syscallargs.h,v 1.10 2003/12/07 01:50:10 dmcmahill Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.6 2003/01/19 16:47:17 thorpej Exp
* created from NetBSD: syscalls.master,v 1.7 2003/12/07 01:36:58 dmcmahill Exp
*/
#ifndef _SVR4_32_SYS__SYSCALLARGS_H_
@ -108,6 +108,7 @@ struct svr4_32_sys_signal_args {
syscallarg(int) signum;
syscallarg(svr4_sig_t) handler;
};
#ifdef SYSVMSG
struct svr4_32_sys_msgsys_args {
syscallarg(int) what;
@ -116,11 +117,14 @@ struct svr4_32_sys_msgsys_args {
syscallarg(int) a4;
syscallarg(int) a5;
};
#else
#endif
struct svr4_32_sys_sysarch_args {
syscallarg(int) op;
syscallarg(netbsd32_voidp) a1;
};
#ifdef SYSVSHM
struct svr4_32_sys_shmsys_args {
syscallarg(int) what;
@ -128,6 +132,9 @@ struct svr4_32_sys_shmsys_args {
syscallarg(int) a3;
syscallarg(int) a4;
};
#else
#endif
#ifdef SYSVSEM
struct svr4_32_sys_semsys_args {
syscallarg(int) what;
@ -136,6 +143,8 @@ struct svr4_32_sys_semsys_args {
syscallarg(int) a4;
syscallarg(int) a5;
};
#else
#endif
struct svr4_32_sys_ioctl_args {
syscallarg(int) fd;
@ -405,6 +414,12 @@ struct svr4_32_sys_facl_args {
syscallarg(svr4_32_aclent_tp) buf;
};
struct svr4_32_sys_schedctl_args {
syscallarg(unsigned int) x;
syscallarg(int) y;
syscallarg(void **) z;
};
struct svr4_32_sys_resolvepath_args {
syscallarg(const netbsd32_charp) path;
syscallarg(netbsd32_charp) buf;
@ -491,177 +506,336 @@ struct svr4_32_sys_socket_args {
syscallarg(int) type;
syscallarg(int) protocol;
};
#if defined(NTP) || !defined(_KERNEL)
#else
#endif
/*
* System call prototypes.
*/
int sys_nosys(struct lwp *, void *, register_t *);
int netbsd32_exit(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int netbsd32_read(struct lwp *, void *, register_t *);
int netbsd32_write(struct lwp *, void *, register_t *);
int svr4_32_sys_open(struct lwp *, void *, register_t *);
int netbsd32_close(struct lwp *, void *, register_t *);
int svr4_32_sys_wait(struct lwp *, void *, register_t *);
int svr4_32_sys_creat(struct lwp *, void *, register_t *);
int netbsd32_link(struct lwp *, void *, register_t *);
int netbsd32_unlink(struct lwp *, void *, register_t *);
int svr4_32_sys_execv(struct lwp *, void *, register_t *);
int netbsd32_chdir(struct lwp *, void *, register_t *);
int svr4_32_sys_time(struct lwp *, void *, register_t *);
int svr4_32_sys_mknod(struct lwp *, void *, register_t *);
int netbsd32_chmod(struct lwp *, void *, register_t *);
int netbsd32___posix_chown(struct lwp *, void *, register_t *);
int svr4_32_sys_break(struct lwp *, void *, register_t *);
int svr4_32_sys_stat(struct lwp *, void *, register_t *);
int compat_43_netbsd32_olseek(struct lwp *, void *, register_t *);
int sys_getpid(struct lwp *, void *, register_t *);
int netbsd32_setuid(struct lwp *, void *, register_t *);
int sys_getuid_with_euid(struct lwp *, void *, register_t *);
int svr4_32_sys_alarm(struct lwp *, void *, register_t *);
int svr4_32_sys_fstat(struct lwp *, void *, register_t *);
int svr4_32_sys_pause(struct lwp *, void *, register_t *);
int svr4_32_sys_utime(struct lwp *, void *, register_t *);
int svr4_32_sys_access(struct lwp *, void *, register_t *);
int svr4_32_sys_nice(struct lwp *, void *, register_t *);
int sys_sync(struct lwp *, void *, register_t *);
int svr4_32_sys_kill(struct lwp *, void *, register_t *);
int svr4_32_sys_pgrpsys(struct lwp *, void *, register_t *);
int netbsd32_dup(struct lwp *, void *, register_t *);
int sys_pipe(struct lwp *, void *, register_t *);
int svr4_32_sys_times(struct lwp *, void *, register_t *);
int netbsd32_setgid(struct lwp *, void *, register_t *);
int sys_getgid_with_egid(struct lwp *, void *, register_t *);
int svr4_32_sys_signal(struct lwp *, void *, register_t *);
#ifdef SYSVMSG
int svr4_32_sys_msgsys(struct lwp *, void *, register_t *);
#else
#endif
int svr4_32_sys_sysarch(struct lwp *, void *, register_t *);
#ifdef SYSVSHM
int svr4_32_sys_shmsys(struct lwp *, void *, register_t *);
#else
#endif
#ifdef SYSVSEM
int svr4_32_sys_semsys(struct lwp *, void *, register_t *);
#else
#endif
int svr4_32_sys_ioctl(struct lwp *, void *, register_t *);
int svr4_32_sys_utssys(struct lwp *, void *, register_t *);
int netbsd32_fsync(struct lwp *, void *, register_t *);
int netbsd32_execve(struct lwp *, void *, register_t *);
int netbsd32_umask(struct lwp *, void *, register_t *);
int netbsd32_chroot(struct lwp *, void *, register_t *);
int svr4_32_sys_fcntl(struct lwp *, void *, register_t *);
int svr4_32_sys_ulimit(struct lwp *, void *, register_t *);
int netbsd32_rmdir(struct lwp *, void *, register_t *);
int netbsd32_mkdir(struct lwp *, void *, register_t *);
int svr4_32_sys_getdents(struct lwp *, void *, register_t *);
int svr4_32_sys_getmsg(struct lwp *, void *, register_t *);
int svr4_32_sys_putmsg(struct lwp *, void *, register_t *);
int netbsd32_poll(struct lwp *, void *, register_t *);
int svr4_32_sys_lstat(struct lwp *, void *, register_t *);
int netbsd32_symlink(struct lwp *, void *, register_t *);
int netbsd32_readlink(struct lwp *, void *, register_t *);
int netbsd32_getgroups(struct lwp *, void *, register_t *);
int netbsd32_setgroups(struct lwp *, void *, register_t *);
int netbsd32_fchmod(struct lwp *, void *, register_t *);
int netbsd32___posix_fchown(struct lwp *, void *, register_t *);
int svr4_32_sys_sigprocmask(struct lwp *, void *, register_t *);
int svr4_32_sys_sigsuspend(struct lwp *, void *, register_t *);
int svr4_32_sys_sigaltstack(struct lwp *, void *, register_t *);
int svr4_32_sys_sigaction(struct lwp *, void *, register_t *);
int svr4_32_sys_sigpending(struct lwp *, void *, register_t *);
int svr4_32_sys_context(struct lwp *, void *, register_t *);
int svr4_32_sys_statvfs(struct lwp *, void *, register_t *);
int svr4_32_sys_fstatvfs(struct lwp *, void *, register_t *);
int svr4_32_sys_waitsys(struct lwp *, void *, register_t *);
int svr4_32_sys_hrtsys(struct lwp *, void *, register_t *);
int svr4_32_sys_pathconf(struct lwp *, void *, register_t *);
int svr4_32_sys_mmap(struct lwp *, void *, register_t *);
int netbsd32_mprotect(struct lwp *, void *, register_t *);
int netbsd32_munmap(struct lwp *, void *, register_t *);
int svr4_32_sys_fpathconf(struct lwp *, void *, register_t *);
int sys_vfork(struct lwp *, void *, register_t *);
int netbsd32_fchdir(struct lwp *, void *, register_t *);
int netbsd32_readv(struct lwp *, void *, register_t *);
int netbsd32_writev(struct lwp *, void *, register_t *);
int svr4_32_sys_xstat(struct lwp *, void *, register_t *);
int svr4_32_sys_lxstat(struct lwp *, void *, register_t *);
int svr4_32_sys_fxstat(struct lwp *, void *, register_t *);
int svr4_32_sys_xmknod(struct lwp *, void *, register_t *);
int svr4_32_sys_setrlimit(struct lwp *, void *, register_t *);
int svr4_32_sys_getrlimit(struct lwp *, void *, register_t *);
int netbsd32_lchown(struct lwp *, void *, register_t *);
int svr4_32_sys_memcntl(struct lwp *, void *, register_t *);
int netbsd32___posix_rename(struct lwp *, void *, register_t *);
int svr4_32_sys_uname(struct lwp *, void *, register_t *);
int netbsd32_setegid(struct lwp *, void *, register_t *);
int svr4_32_sys_sysconfig(struct lwp *, void *, register_t *);
int netbsd32_adjtime(struct lwp *, void *, register_t *);
int svr4_32_sys_systeminfo(struct lwp *, void *, register_t *);
int netbsd32_seteuid(struct lwp *, void *, register_t *);
int sys_fork(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_info(struct lwp *, void *, register_t *);
int netbsd32_fchroot(struct lwp *, void *, register_t *);
int svr4_32_sys_utimes(struct lwp *, void *, register_t *);
int svr4_32_sys_vhangup(struct lwp *, void *, register_t *);
int svr4_32_sys_gettimeofday(struct lwp *, void *, register_t *);
int netbsd32_getitimer(struct lwp *, void *, register_t *);
int netbsd32_setitimer(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_create(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_exit(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_suspend(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_continue(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_kill(struct lwp *, void *, register_t *);
int svr4_sys__lwp_self(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_getprivate(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_setprivate(struct lwp *, void *, register_t *);
int svr4_32_sys__lwp_wait(struct lwp *, void *, register_t *);
int svr4_32_sys_pread(struct lwp *, void *, register_t *);
int svr4_32_sys_pwrite(struct lwp *, void *, register_t *);
int svr4_32_sys_llseek(struct lwp *, void *, register_t *);
int svr4_32_sys_acl(struct lwp *, void *, register_t *);
int svr4_32_sys_auditsys(struct lwp *, void *, register_t *);
int netbsd32_nanosleep(struct lwp *, void *, register_t *);
int svr4_32_sys_facl(struct lwp *, void *, register_t *);
int netbsd32_setreuid(struct lwp *, void *, register_t *);
int netbsd32_setregid(struct lwp *, void *, register_t *);
int svr4_32_sys_schedctl(struct lwp *, void *, register_t *);
int svr4_32_sys_resolvepath(struct lwp *, void *, register_t *);
int svr4_32_sys_getdents64(struct lwp *, void *, register_t *);
int svr4_32_sys_mmap64(struct lwp *, void *, register_t *);
int svr4_32_sys_stat64(struct lwp *, void *, register_t *);
int svr4_32_sys_lstat64(struct lwp *, void *, register_t *);
int svr4_32_sys_fstat64(struct lwp *, void *, register_t *);
int svr4_32_sys_statvfs64(struct lwp *, void *, register_t *);
int svr4_32_sys_fstatvfs64(struct lwp *, void *, register_t *);
int svr4_32_sys_setrlimit64(struct lwp *, void *, register_t *);
int svr4_32_sys_getrlimit64(struct lwp *, void *, register_t *);
int svr4_32_sys_pread64(struct lwp *, void *, register_t *);
int svr4_32_sys_pwrite64(struct lwp *, void *, register_t *);
int svr4_32_sys_creat64(struct lwp *, void *, register_t *);
int svr4_32_sys_open64(struct lwp *, void *, register_t *);
int svr4_32_sys_socket(struct lwp *, void *, register_t *);
int netbsd32_socketpair(struct lwp *, void *, register_t *);
int netbsd32_bind(struct lwp *, void *, register_t *);
int netbsd32_listen(struct lwp *, void *, register_t *);
int compat_43_netbsd32_oaccept(struct lwp *, void *, register_t *);
int netbsd32_connect(struct lwp *, void *, register_t *);
int netbsd32_shutdown(struct lwp *, void *, register_t *);
int compat_43_netbsd32_orecv(struct lwp *, void *, register_t *);
int compat_43_netbsd32_orecvfrom(struct lwp *, void *, register_t *);
int compat_43_netbsd32_orecvmsg(struct lwp *, void *, register_t *);
int compat_43_netbsd32_osend(struct lwp *, void *, register_t *);
int compat_43_netbsd32_osendmsg(struct lwp *, void *, register_t *);
int netbsd32_sendto(struct lwp *, void *, register_t *);
int compat_43_netbsd32_ogetpeername(struct lwp *, void *, register_t *);
int compat_43_netbsd32_ogetsockname(struct lwp *, void *, register_t *);
int netbsd32_getsockopt(struct lwp *, void *, register_t *);
int netbsd32_setsockopt(struct lwp *, void *, register_t *);
int netbsd32_ntp_gettime(struct lwp *, void *, register_t *);
#if defined(NTP) || !defined(_KERNEL)
int netbsd32_ntp_adjtime(struct lwp *, void *, register_t *);
#else
#endif
#endif /* _SVR4_32_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: svr4_32_syscalls.c,v 1.9 2003/01/19 16:49:13 thorpej Exp $ */
/* $NetBSD: svr4_32_syscalls.c,v 1.10 2003/12/07 01:50:10 dmcmahill Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.6 2003/01/19 16:47:17 thorpej Exp
* created from NetBSD: syscalls.master,v 1.7 2003/12/07 01:36:58 dmcmahill Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: svr4_32_syscalls.c,v 1.9 2003/01/19 16:49:13 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: svr4_32_syscalls.c,v 1.10 2003/12/07 01:50:10 dmcmahill Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -32,6 +32,7 @@ __KERNEL_RCSID(0, "$NetBSD: svr4_32_syscalls.c,v 1.9 2003/01/19 16:49:13 thorpej
#include <compat/svr4_32/svr4_32_statvfs.h>
#include <compat/svr4_32/svr4_32_resource.h>
#include <compat/svr4_32/svr4_32_acl.h>
#include <compat/svr4_32/svr4_32_schedctl.h>
#endif /* _KERNEL_OPT */
const char *const svr4_32_syscallnames[] = {
@ -253,7 +254,7 @@ const char *const svr4_32_syscallnames[] = {
"netbsd32_setregid", /* 203 = netbsd32_setregid */
"#204 (unimplemented install_utrap)", /* 204 = unimplemented install_utrap */
"#205 (unimplemented signotify)", /* 205 = unimplemented signotify */
"#206 (unimplemented schedctl)", /* 206 = unimplemented schedctl */
"schedctl", /* 206 = schedctl */
"#207 (unimplemented pset)", /* 207 = unimplemented pset */
"#208 (unimplemented sparc_utrap_install)", /* 208 = unimplemented sparc_utrap_install */
"resolvepath", /* 209 = resolvepath */

View File

@ -1,14 +1,14 @@
/* $NetBSD: svr4_32_sysent.c,v 1.10 2003/01/19 16:49:13 thorpej Exp $ */
/* $NetBSD: svr4_32_sysent.c,v 1.11 2003/12/07 01:50:10 dmcmahill Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.6 2003/01/19 16:47:17 thorpej Exp
* created from NetBSD: syscalls.master,v 1.7 2003/12/07 01:36:58 dmcmahill Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: svr4_32_sysent.c,v 1.10 2003/01/19 16:49:13 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: svr4_32_sysent.c,v 1.11 2003/12/07 01:50:10 dmcmahill Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ntp.h"
@ -31,6 +31,7 @@ __KERNEL_RCSID(0, "$NetBSD: svr4_32_sysent.c,v 1.10 2003/01/19 16:49:13 thorpej
#include <compat/svr4_32/svr4_32_statvfs.h>
#include <compat/svr4_32/svr4_32_resource.h>
#include <compat/svr4_32/svr4_32_acl.h>
#include <compat/svr4_32/svr4_32_schedctl.h>
#define s(type) sizeof(type)
@ -462,8 +463,8 @@ struct sysent svr4_32_sysent[] = {
sys_nosys }, /* 204 = unimplemented install_utrap */
{ 0, 0, 0,
sys_nosys }, /* 205 = unimplemented signotify */
{ 0, 0, 0,
sys_nosys }, /* 206 = unimplemented schedctl */
{ 3, s(struct svr4_32_sys_schedctl_args), 0,
svr4_32_sys_schedctl }, /* 206 = schedctl */
{ 0, 0, 0,
sys_nosys }, /* 207 = unimplemented pset */
{ 0, 0, 0,