- Regen for cpuset
Sponsored by: Nokia
This commit is contained in:
parent
694203dedd
commit
9b809b84f1
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.237 2008/02/12 20:09:04 ru Exp
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.238 2008/03/02 07:39:22 jeff Exp
|
||||
*/
|
||||
|
||||
#include "opt_compat.h"
|
||||
@ -513,4 +513,9 @@ struct sysent sysent[] = {
|
||||
{ AS(thr_kill2_args), (sy_call_t *)thr_kill2, AUE_KILL, NULL, 0, 0 }, /* 481 = thr_kill2 */
|
||||
{ AS(shm_open_args), (sy_call_t *)shm_open, AUE_SHMOPEN, NULL, 0, 0 }, /* 482 = shm_open */
|
||||
{ AS(shm_unlink_args), (sy_call_t *)shm_unlink, AUE_SHMUNLINK, NULL, 0, 0 }, /* 483 = shm_unlink */
|
||||
{ AS(cpuset_args), (sy_call_t *)cpuset, AUE_NULL, NULL, 0, 0 }, /* 484 = cpuset */
|
||||
{ AS(cpuset_setid_args), (sy_call_t *)cpuset_setid, AUE_NULL, NULL, 0, 0 }, /* 485 = cpuset_setid */
|
||||
{ AS(cpuset_getid_args), (sy_call_t *)cpuset_getid, AUE_NULL, NULL, 0, 0 }, /* 486 = cpuset_getid */
|
||||
{ AS(cpuset_getaffinity_args), (sy_call_t *)cpuset_getaffinity, AUE_NULL, NULL, 0, 0 }, /* 487 = cpuset_getaffinity */
|
||||
{ AS(cpuset_setaffinity_args), (sy_call_t *)cpuset_setaffinity, AUE_NULL, NULL, 0, 0 }, /* 488 = cpuset_setaffinity */
|
||||
};
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.237 2008/02/12 20:09:04 ru Exp
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.238 2008/03/02 07:39:22 jeff Exp
|
||||
*/
|
||||
|
||||
const char *syscallnames[] = {
|
||||
@ -491,4 +491,9 @@ const char *syscallnames[] = {
|
||||
"thr_kill2", /* 481 = thr_kill2 */
|
||||
"shm_open", /* 482 = shm_open */
|
||||
"shm_unlink", /* 483 = shm_unlink */
|
||||
"cpuset", /* 484 = cpuset */
|
||||
"cpuset_setid", /* 485 = cpuset_setid */
|
||||
"cpuset_getid", /* 486 = cpuset_getid */
|
||||
"cpuset_getaffinity", /* 487 = cpuset_getaffinity */
|
||||
"cpuset_setaffinity", /* 488 = cpuset_setaffinity */
|
||||
};
|
||||
|
@ -2887,6 +2887,54 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
|
||||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
/* cpuset */
|
||||
case 484: {
|
||||
struct cpuset_args *p = params;
|
||||
uarg[0] = (intptr_t) p->setid; /* cpusetid_t * */
|
||||
*n_args = 1;
|
||||
break;
|
||||
}
|
||||
/* cpuset_setid */
|
||||
case 485: {
|
||||
struct cpuset_setid_args *p = params;
|
||||
iarg[0] = p->which; /* cpuwhich_t */
|
||||
iarg[1] = p->id; /* id_t */
|
||||
iarg[2] = p->setid; /* cpusetid_t */
|
||||
*n_args = 3;
|
||||
break;
|
||||
}
|
||||
/* cpuset_getid */
|
||||
case 486: {
|
||||
struct cpuset_getid_args *p = params;
|
||||
iarg[0] = p->level; /* cpulevel_t */
|
||||
iarg[1] = p->which; /* cpuwhich_t */
|
||||
iarg[2] = p->id; /* id_t */
|
||||
uarg[3] = (intptr_t) p->setid; /* cpusetid_t * */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* cpuset_getaffinity */
|
||||
case 487: {
|
||||
struct cpuset_getaffinity_args *p = params;
|
||||
iarg[0] = p->level; /* cpulevel_t */
|
||||
iarg[1] = p->which; /* cpuwhich_t */
|
||||
iarg[2] = p->id; /* id_t */
|
||||
iarg[3] = p->cpusetsize; /* int */
|
||||
uarg[4] = (intptr_t) p->mask; /* long * */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
/* cpuset_setaffinity */
|
||||
case 488: {
|
||||
struct cpuset_setaffinity_args *p = params;
|
||||
iarg[0] = p->level; /* cpulevel_t */
|
||||
iarg[1] = p->which; /* cpuwhich_t */
|
||||
iarg[2] = p->id; /* id_t */
|
||||
iarg[3] = p->cpusetsize; /* int */
|
||||
uarg[4] = (intptr_t) p->mask; /* long * */
|
||||
*n_args = 5;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
*n_args = 0;
|
||||
break;
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.237 2008/02/12 20:09:04 ru Exp
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.238 2008/03/02 07:39:22 jeff Exp
|
||||
*/
|
||||
|
||||
#define SYS_syscall 0
|
||||
@ -403,4 +403,9 @@
|
||||
#define SYS_thr_kill2 481
|
||||
#define SYS_shm_open 482
|
||||
#define SYS_shm_unlink 483
|
||||
#define SYS_MAXSYSCALL 484
|
||||
#define SYS_cpuset 484
|
||||
#define SYS_cpuset_setid 485
|
||||
#define SYS_cpuset_getid 486
|
||||
#define SYS_cpuset_getaffinity 487
|
||||
#define SYS_cpuset_setaffinity 488
|
||||
#define SYS_MAXSYSCALL 489
|
||||
|
@ -1,7 +1,7 @@
|
||||
# FreeBSD system call names.
|
||||
# DO NOT EDIT-- this file is automatically generated.
|
||||
# $FreeBSD$
|
||||
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.237 2008/02/12 20:09:04 ru Exp
|
||||
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.238 2008/03/02 07:39:22 jeff Exp
|
||||
MIASM = \
|
||||
syscall.o \
|
||||
exit.o \
|
||||
@ -351,4 +351,9 @@ MIASM = \
|
||||
ftruncate.o \
|
||||
thr_kill2.o \
|
||||
shm_open.o \
|
||||
shm_unlink.o
|
||||
shm_unlink.o \
|
||||
cpuset.o \
|
||||
cpuset_setid.o \
|
||||
cpuset_getid.o \
|
||||
cpuset_getaffinity.o \
|
||||
cpuset_setaffinity.o
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* $FreeBSD$
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.237 2008/02/12 20:09:04 ru Exp
|
||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.238 2008/03/02 07:39:22 jeff Exp
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSPROTO_H_
|
||||
@ -1528,6 +1528,34 @@ struct shm_open_args {
|
||||
struct shm_unlink_args {
|
||||
char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
|
||||
};
|
||||
struct cpuset_args {
|
||||
char setid_l_[PADL_(cpusetid_t *)]; cpusetid_t * setid; char setid_r_[PADR_(cpusetid_t *)];
|
||||
};
|
||||
struct cpuset_setid_args {
|
||||
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
||||
char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)];
|
||||
char setid_l_[PADL_(cpusetid_t)]; cpusetid_t setid; char setid_r_[PADR_(cpusetid_t)];
|
||||
};
|
||||
struct cpuset_getid_args {
|
||||
char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
|
||||
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
||||
char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)];
|
||||
char setid_l_[PADL_(cpusetid_t *)]; cpusetid_t * setid; char setid_r_[PADR_(cpusetid_t *)];
|
||||
};
|
||||
struct cpuset_getaffinity_args {
|
||||
char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
|
||||
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
||||
char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)];
|
||||
char cpusetsize_l_[PADL_(int)]; int cpusetsize; char cpusetsize_r_[PADR_(int)];
|
||||
char mask_l_[PADL_(long *)]; long * mask; char mask_r_[PADR_(long *)];
|
||||
};
|
||||
struct cpuset_setaffinity_args {
|
||||
char level_l_[PADL_(cpulevel_t)]; cpulevel_t level; char level_r_[PADR_(cpulevel_t)];
|
||||
char which_l_[PADL_(cpuwhich_t)]; cpuwhich_t which; char which_r_[PADR_(cpuwhich_t)];
|
||||
char id_l_[PADL_(id_t)]; id_t id; char id_r_[PADR_(id_t)];
|
||||
char cpusetsize_l_[PADL_(int)]; int cpusetsize; char cpusetsize_r_[PADR_(int)];
|
||||
char mask_l_[PADL_(long *)]; long * mask; char mask_r_[PADR_(long *)];
|
||||
};
|
||||
int nosys(struct thread *, struct nosys_args *);
|
||||
void sys_exit(struct thread *, struct sys_exit_args *);
|
||||
int fork(struct thread *, struct fork_args *);
|
||||
@ -1869,6 +1897,11 @@ int ftruncate(struct thread *, struct ftruncate_args *);
|
||||
int thr_kill2(struct thread *, struct thr_kill2_args *);
|
||||
int shm_open(struct thread *, struct shm_open_args *);
|
||||
int shm_unlink(struct thread *, struct shm_unlink_args *);
|
||||
int cpuset(struct thread *, struct cpuset_args *);
|
||||
int cpuset_setid(struct thread *, struct cpuset_setid_args *);
|
||||
int cpuset_getid(struct thread *, struct cpuset_getid_args *);
|
||||
int cpuset_getaffinity(struct thread *, struct cpuset_getaffinity_args *);
|
||||
int cpuset_setaffinity(struct thread *, struct cpuset_setaffinity_args *);
|
||||
|
||||
#ifdef COMPAT_43
|
||||
|
||||
@ -2435,6 +2468,11 @@ int freebsd4_sigreturn(struct thread *, struct freebsd4_sigreturn_args *);
|
||||
#define SYS_AUE_thr_kill2 AUE_KILL
|
||||
#define SYS_AUE_shm_open AUE_SHMOPEN
|
||||
#define SYS_AUE_shm_unlink AUE_SHMUNLINK
|
||||
#define SYS_AUE_cpuset AUE_NULL
|
||||
#define SYS_AUE_cpuset_setid AUE_NULL
|
||||
#define SYS_AUE_cpuset_getid AUE_NULL
|
||||
#define SYS_AUE_cpuset_getaffinity AUE_NULL
|
||||
#define SYS_AUE_cpuset_setaffinity AUE_NULL
|
||||
|
||||
#undef PAD_
|
||||
#undef PADL_
|
||||
|
Loading…
Reference in New Issue
Block a user