Regen syscalls.
This commit is contained in:
parent
5c71a4d49f
commit
15b5efefb3
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: init_sysent.c,v 1.205 2008/01/07 16:16:39 ad Exp $ */
|
||||
/* $NetBSD: init_sysent.c,v 1.206 2008/01/15 03:44:57 rmind Exp $ */
|
||||
|
||||
/*
|
||||
* System call switch table.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.183 2008/01/07 16:15:36 ad Exp
|
||||
* created from NetBSD: syscalls.master,v 1.184 2008/01/15 03:37:11 rmind Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.205 2008/01/07 16:16:39 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.206 2008/01/15 03:44:57 rmind Exp $");
|
||||
|
||||
#include "opt_nfsserver.h"
|
||||
#include "opt_ntp.h"
|
||||
@ -938,22 +938,22 @@ struct sysent sysent[] = {
|
||||
(sy_call_t *)sys_kqueue }, /* 344 = kqueue */
|
||||
{ ns(struct sys_kevent_args), 0,
|
||||
(sy_call_t *)sys_kevent }, /* 345 = kevent */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 346 = unimplemented sys_sched_setparam */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 347 = unimplemented sys_sched_getparam */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 348 = unimplemented sys_sched_setscheduler */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 349 = unimplemented sys_sched_getscheduler */
|
||||
{ ns(struct sys__sched_setparam_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys__sched_setparam }, /* 346 = _sched_setparam */
|
||||
{ ns(struct sys__sched_getparam_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys__sched_getparam }, /* 347 = _sched_getparam */
|
||||
{ ns(struct sys__sched_setaffinity_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys__sched_setaffinity },/* 348 = _sched_setaffinity */
|
||||
{ ns(struct sys__sched_getaffinity_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys__sched_getaffinity },/* 349 = _sched_getaffinity */
|
||||
{ 0, 0, SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys_sched_yield }, /* 350 = sched_yield */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 351 = unimplemented sys_sched_get_priority_max */
|
||||
sys_nosys }, /* 351 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 352 = unimplemented sys_sched_get_priority_min */
|
||||
sys_nosys }, /* 352 = unimplemented */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 353 = unimplemented sys_sched_rr_get_interval */
|
||||
sys_nosys }, /* 353 = unimplemented */
|
||||
{ ns(struct sys_fsync_range_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys_fsync_range }, /* 354 = fsync_range */
|
||||
{ ns(struct sys_uuidgen_args), SYCALL_MPSAFE | 0,
|
||||
@ -1070,14 +1070,14 @@ struct sysent sysent[] = {
|
||||
(sy_call_t *)sys___mount50 }, /* 410 = __mount50 */
|
||||
{ ns(struct sys_mremap_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys_mremap }, /* 411 = mremap */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 412 = filler */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 413 = filler */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 414 = filler */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 415 = filler */
|
||||
{ ns(struct sys_pset_create_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys_pset_create }, /* 412 = pset_create */
|
||||
{ ns(struct sys_pset_destroy_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys_pset_destroy }, /* 413 = pset_destroy */
|
||||
{ ns(struct sys_pset_assign_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys_pset_assign }, /* 414 = pset_assign */
|
||||
{ ns(struct sys__pset_bind_args), SYCALL_MPSAFE | 0,
|
||||
(sy_call_t *)sys__pset_bind }, /* 415 = _pset_bind */
|
||||
{ 0, 0, 0,
|
||||
sys_nosys }, /* 416 = filler */
|
||||
{ 0, 0, 0,
|
||||
|
@ -1,14 +1,14 @@
|
||||
/* $NetBSD: syscalls.c,v 1.199 2008/01/07 16:16:40 ad Exp $ */
|
||||
/* $NetBSD: syscalls.c,v 1.200 2008/01/15 03:44:57 rmind Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.183 2008/01/07 16:15:36 ad Exp
|
||||
* created from NetBSD: syscalls.master,v 1.184 2008/01/15 03:37:11 rmind Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.199 2008/01/07 16:16:40 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.200 2008/01/15 03:44:57 rmind Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_nfsserver.h"
|
||||
@ -471,14 +471,14 @@ const char *const syscallnames[] = {
|
||||
/* 343 */ "rasctl",
|
||||
/* 344 */ "kqueue",
|
||||
/* 345 */ "kevent",
|
||||
/* 346 */ "#346 (unimplemented sys_sched_setparam)",
|
||||
/* 347 */ "#347 (unimplemented sys_sched_getparam)",
|
||||
/* 348 */ "#348 (unimplemented sys_sched_setscheduler)",
|
||||
/* 349 */ "#349 (unimplemented sys_sched_getscheduler)",
|
||||
/* 346 */ "_sched_setparam",
|
||||
/* 347 */ "_sched_getparam",
|
||||
/* 348 */ "_sched_setaffinity",
|
||||
/* 349 */ "_sched_getaffinity",
|
||||
/* 350 */ "sched_yield",
|
||||
/* 351 */ "#351 (unimplemented sys_sched_get_priority_max)",
|
||||
/* 352 */ "#352 (unimplemented sys_sched_get_priority_min)",
|
||||
/* 353 */ "#353 (unimplemented sys_sched_rr_get_interval)",
|
||||
/* 351 */ "#351 (unimplemented)",
|
||||
/* 352 */ "#352 (unimplemented)",
|
||||
/* 353 */ "#353 (unimplemented)",
|
||||
/* 354 */ "fsync_range",
|
||||
/* 355 */ "uuidgen",
|
||||
/* 356 */ "getvfsstat",
|
||||
@ -537,4 +537,8 @@ const char *const syscallnames[] = {
|
||||
/* 409 */ "#409 (unimplemented)",
|
||||
/* 410 */ "__mount50",
|
||||
/* 411 */ "mremap",
|
||||
/* 412 */ "pset_create",
|
||||
/* 413 */ "pset_destroy",
|
||||
/* 414 */ "pset_assign",
|
||||
/* 415 */ "_pset_bind",
|
||||
};
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: syscall.h,v 1.196 2008/01/07 16:16:39 ad Exp $ */
|
||||
/* $NetBSD: syscall.h,v 1.197 2008/01/15 03:44:57 rmind Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.183 2008/01/07 16:15:36 ad Exp
|
||||
* created from NetBSD: syscalls.master,v 1.184 2008/01/15 03:37:11 rmind Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSCALL_H_
|
||||
@ -1015,6 +1015,18 @@
|
||||
/* syscall: "kevent" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec *" */
|
||||
#define SYS_kevent 345
|
||||
|
||||
/* syscall: "_sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "const struct sched_param *" */
|
||||
#define SYS__sched_setparam 346
|
||||
|
||||
/* syscall: "_sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "struct sched_param *" */
|
||||
#define SYS__sched_getparam 347
|
||||
|
||||
/* syscall: "_sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "void *" */
|
||||
#define SYS__sched_setaffinity 348
|
||||
|
||||
/* syscall: "_sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "void *" */
|
||||
#define SYS__sched_getaffinity 349
|
||||
|
||||
/* syscall: "sched_yield" ret: "int" args: */
|
||||
#define SYS_sched_yield 350
|
||||
|
||||
@ -1183,6 +1195,18 @@
|
||||
/* syscall: "mremap" ret: "void *" args: "void *" "size_t" "void *" "size_t" "int" */
|
||||
#define SYS_mremap 411
|
||||
|
||||
#define SYS_MAXSYSCALL 412
|
||||
/* syscall: "pset_create" ret: "int" args: "psetid_t *" */
|
||||
#define SYS_pset_create 412
|
||||
|
||||
/* syscall: "pset_destroy" ret: "int" args: "psetid_t" */
|
||||
#define SYS_pset_destroy 413
|
||||
|
||||
/* syscall: "pset_assign" ret: "int" args: "psetid_t" "cpuid_t" "psetid_t *" */
|
||||
#define SYS_pset_assign 414
|
||||
|
||||
/* syscall: "_pset_bind" ret: "int" args: "idtype_t" "id_t" "id_t" "psetid_t" "psetid_t *" */
|
||||
#define SYS__pset_bind 415
|
||||
|
||||
#define SYS_MAXSYSCALL 416
|
||||
#define SYS_NSYSENT 512
|
||||
#endif /* _SYS_SYSCALL_H_ */
|
||||
|
@ -1,10 +1,10 @@
|
||||
/* $NetBSD: syscallargs.h,v 1.178 2008/01/07 16:16:38 ad Exp $ */
|
||||
/* $NetBSD: syscallargs.h,v 1.179 2008/01/15 03:44:57 rmind Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.183 2008/01/07 16:15:36 ad Exp
|
||||
* created from NetBSD: syscalls.master,v 1.184 2008/01/15 03:37:11 rmind Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSCALLARGS_H_
|
||||
@ -1796,6 +1796,36 @@ struct sys_kevent_args {
|
||||
};
|
||||
check_syscall_args(sys_kevent)
|
||||
|
||||
struct sys__sched_setparam_args {
|
||||
syscallarg(pid_t) pid;
|
||||
syscallarg(lwpid_t) lid;
|
||||
syscallarg(const struct sched_param *) params;
|
||||
};
|
||||
check_syscall_args(sys__sched_setparam)
|
||||
|
||||
struct sys__sched_getparam_args {
|
||||
syscallarg(pid_t) pid;
|
||||
syscallarg(lwpid_t) lid;
|
||||
syscallarg(struct sched_param *) params;
|
||||
};
|
||||
check_syscall_args(sys__sched_getparam)
|
||||
|
||||
struct sys__sched_setaffinity_args {
|
||||
syscallarg(pid_t) pid;
|
||||
syscallarg(lwpid_t) lid;
|
||||
syscallarg(size_t) size;
|
||||
syscallarg(void *) cpuset;
|
||||
};
|
||||
check_syscall_args(sys__sched_setaffinity)
|
||||
|
||||
struct sys__sched_getaffinity_args {
|
||||
syscallarg(pid_t) pid;
|
||||
syscallarg(lwpid_t) lid;
|
||||
syscallarg(size_t) size;
|
||||
syscallarg(void *) cpuset;
|
||||
};
|
||||
check_syscall_args(sys__sched_getaffinity)
|
||||
|
||||
struct sys_fsync_range_args {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(int) flags;
|
||||
@ -2199,6 +2229,32 @@ struct sys_mremap_args {
|
||||
};
|
||||
check_syscall_args(sys_mremap)
|
||||
|
||||
struct sys_pset_create_args {
|
||||
syscallarg(psetid_t *) psid;
|
||||
};
|
||||
check_syscall_args(sys_pset_create)
|
||||
|
||||
struct sys_pset_destroy_args {
|
||||
syscallarg(psetid_t) psid;
|
||||
};
|
||||
check_syscall_args(sys_pset_destroy)
|
||||
|
||||
struct sys_pset_assign_args {
|
||||
syscallarg(psetid_t) psid;
|
||||
syscallarg(cpuid_t) cpuid;
|
||||
syscallarg(psetid_t *) opsid;
|
||||
};
|
||||
check_syscall_args(sys_pset_assign)
|
||||
|
||||
struct sys__pset_bind_args {
|
||||
syscallarg(idtype_t) idtype;
|
||||
syscallarg(id_t) first_id;
|
||||
syscallarg(id_t) second_id;
|
||||
syscallarg(psetid_t) psid;
|
||||
syscallarg(psetid_t *) opsid;
|
||||
};
|
||||
check_syscall_args(sys__pset_bind)
|
||||
|
||||
/*
|
||||
* System call prototypes.
|
||||
*/
|
||||
@ -2856,6 +2912,14 @@ int sys_kqueue(struct lwp *, const void *, register_t *);
|
||||
|
||||
int sys_kevent(struct lwp *, const struct sys_kevent_args *, register_t *);
|
||||
|
||||
int sys__sched_setparam(struct lwp *, const struct sys__sched_setparam_args *, register_t *);
|
||||
|
||||
int sys__sched_getparam(struct lwp *, const struct sys__sched_getparam_args *, register_t *);
|
||||
|
||||
int sys__sched_setaffinity(struct lwp *, const struct sys__sched_setaffinity_args *, register_t *);
|
||||
|
||||
int sys__sched_getaffinity(struct lwp *, const struct sys__sched_getaffinity_args *, register_t *);
|
||||
|
||||
int sys_sched_yield(struct lwp *, const void *, register_t *);
|
||||
|
||||
int sys_fsync_range(struct lwp *, const struct sys_fsync_range_args *, register_t *);
|
||||
@ -2968,4 +3032,12 @@ int sys___mount50(struct lwp *, const struct sys___mount50_args *, register_t *)
|
||||
|
||||
int sys_mremap(struct lwp *, const struct sys_mremap_args *, register_t *);
|
||||
|
||||
int sys_pset_create(struct lwp *, const struct sys_pset_create_args *, register_t *);
|
||||
|
||||
int sys_pset_destroy(struct lwp *, const struct sys_pset_destroy_args *, register_t *);
|
||||
|
||||
int sys_pset_assign(struct lwp *, const struct sys_pset_assign_args *, register_t *);
|
||||
|
||||
int sys__pset_bind(struct lwp *, const struct sys__pset_bind_args *, register_t *);
|
||||
|
||||
#endif /* _SYS_SYSCALLARGS_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user