- Regen for thr related system calls.

This commit is contained in:
jeff 2003-04-01 00:34:29 +00:00
parent 5e69249b17
commit 814bb99933
5 changed files with 46 additions and 7 deletions

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp
*/
#include "opt_compat.h"
@ -458,4 +458,8 @@ struct sysent sysent[] = {
{ SYF_MPSAFE | AS(__acl_delete_link_args), (sy_call_t *)__acl_delete_link }, /* 427 = __acl_delete_link */
{ SYF_MPSAFE | AS(__acl_aclcheck_link_args), (sy_call_t *)__acl_aclcheck_link }, /* 428 = __acl_aclcheck_link */
{ SYF_MPSAFE | AS(sigwait_args), (sy_call_t *)sigwait }, /* 429 = sigwait */
{ AS(thr_create_args), (sy_call_t *)thr_create }, /* 430 = thr_create */
{ 0, (sy_call_t *)thr_exit }, /* 431 = thr_exit */
{ AS(thr_self_args), (sy_call_t *)thr_self }, /* 432 = thr_self */
{ AS(thr_kill_args), (sy_call_t *)thr_kill }, /* 433 = thr_kill */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp
*/
const char *syscallnames[] = {
@ -437,4 +437,8 @@ const char *syscallnames[] = {
"__acl_delete_link", /* 427 = __acl_delete_link */
"__acl_aclcheck_link", /* 428 = __acl_aclcheck_link */
"sigwait", /* 429 = sigwait */
"thr_create", /* 430 = thr_create */
"thr_exit", /* 431 = thr_exit */
"thr_self", /* 432 = thr_self */
"thr_kill", /* 433 = thr_kill */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp
*/
#define SYS_syscall 0
@ -337,4 +337,8 @@
#define SYS___acl_delete_link 427
#define SYS___acl_aclcheck_link 428
#define SYS_sigwait 429
#define SYS_MAXSYSCALL 430
#define SYS_thr_create 430
#define SYS_thr_exit 431
#define SYS_thr_self 432
#define SYS_thr_kill 433
#define SYS_MAXSYSCALL 434

View File

@ -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.144 2003/02/20 08:18:15 davidxu Exp
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp
MIASM = \
syscall.o \
exit.o \
@ -282,4 +282,8 @@ MIASM = \
__acl_set_link.o \
__acl_delete_link.o \
__acl_aclcheck_link.o \
sigwait.o
sigwait.o \
thr_create.o \
thr_exit.o \
thr_self.o \
thr_kill.o

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.144 2003/02/20 08:18:15 davidxu Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.145 2003/03/31 23:30:41 jeff Exp
*/
#ifndef _SYS_SYSPROTO_H_
@ -11,8 +11,12 @@
#include <sys/signal.h>
#include <sys/acl.h>
#include <sys/thr.h>
#include <sys/umtx.h>
#include <posix4/_semaphore.h>
#include <sys/ucontext.h>
struct proc;
struct thread;
@ -1236,6 +1240,21 @@ struct sigwait_args {
char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
char sig_l_[PADL_(int *)]; int * sig; char sig_r_[PADR_(int *)];
};
struct thr_create_args {
char ctx_l_[PADL_(ucontext_t *)]; ucontext_t * ctx; char ctx_r_[PADR_(ucontext_t *)];
char id_l_[PADL_(thr_id_t *)]; thr_id_t * id; char id_r_[PADR_(thr_id_t *)];
char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
};
struct thr_exit_args {
register_t dummy;
};
struct thr_self_args {
char id_l_[PADL_(thr_id_t *)]; thr_id_t * id; char id_r_[PADR_(thr_id_t *)];
};
struct thr_kill_args {
char id_l_[PADL_(thr_id_t)]; thr_id_t id; char id_r_[PADR_(thr_id_t)];
char sig_l_[PADL_(int)]; int sig; char sig_r_[PADR_(int)];
};
int nosys(struct thread *, struct nosys_args *);
void sys_exit(struct thread *, struct sys_exit_args *);
int fork(struct thread *, struct fork_args *);
@ -1515,6 +1534,10 @@ int __acl_set_link(struct thread *, struct __acl_set_link_args *);
int __acl_delete_link(struct thread *, struct __acl_delete_link_args *);
int __acl_aclcheck_link(struct thread *, struct __acl_aclcheck_link_args *);
int sigwait(struct thread *, struct sigwait_args *);
int thr_create(struct thread *, struct thr_create_args *);
int thr_exit(struct thread *, struct thr_exit_args *);
int thr_self(struct thread *, struct thr_self_args *);
int thr_kill(struct thread *, struct thr_kill_args *);
#ifdef COMPAT_43