Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2005 02:21:58 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 75118 for review
Message-ID:  <200504140221.j3E2Lw2A010265@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=75118

Change 75118 by davidxu@davidxu_celeron on 2005/04/14 02:21:45

	Generate thr_create2 syscall.

Affected files ...

.. //depot/projects/davidxu_thread/src/sys/kern/init_sysent.c#8 edit
.. //depot/projects/davidxu_thread/src/sys/kern/syscalls.c#8 edit
.. //depot/projects/davidxu_thread/src/sys/kern/syscalls.master#8 edit
.. //depot/projects/davidxu_thread/src/sys/sys/syscall.h#7 edit
.. //depot/projects/davidxu_thread/src/sys/sys/syscall.mk#7 edit
.. //depot/projects/davidxu_thread/src/sys/sys/sysproto.h#7 edit

Differences ...

==== //depot/projects/davidxu_thread/src/sys/kern/init_sysent.c#8 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/kern/init_sysent.c,v 1.186 2005/03/01 17:44:34 ps Exp $
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.186 2005/03/01 17:43:08 ps Exp 
+ * $FreeBSD$
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.187 2005/03/09 11:50:55 stefanf Exp 
  */
 
 #include "opt_compat.h"
@@ -483,4 +483,5 @@
 	{ SYF_MPSAFE | AS(setaudit_addr_args), (sy_call_t *)lkmressys },	/* 452 = setaudit_addr */
 	{ SYF_MPSAFE | AS(auditctl_args), (sy_call_t *)lkmressys },	/* 453 = auditctl */
 	{ SYF_MPSAFE | AS(_umtx_op_args), (sy_call_t *)_umtx_op },	/* 454 = _umtx_op */
+	{ SYF_MPSAFE | AS(thr_create2_args), (sy_call_t *)thr_create2 },	/* 455 = thr_create2 */
 };

==== //depot/projects/davidxu_thread/src/sys/kern/syscalls.c#8 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/kern/syscalls.c,v 1.172 2005/03/01 17:44:34 ps Exp $
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.186 2005/03/01 17:43:08 ps Exp 
+ * $FreeBSD$
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.187 2005/03/09 11:50:55 stefanf Exp 
  */
 
 const char *syscallnames[] = {
@@ -462,4 +462,5 @@
 	"setaudit_addr",			/* 452 = setaudit_addr */
 	"auditctl",			/* 453 = auditctl */
 	"_umtx_op",			/* 454 = _umtx_op */
+	"thr_create2",			/* 455 = thr_create2 */
 };

==== //depot/projects/davidxu_thread/src/sys/kern/syscalls.master#8 (text+ko) ====

@@ -645,5 +645,7 @@
 453	MNOSTD	{ int auditctl(int cmd, char *path); }
 454	MSTD	{ int _umtx_op(struct umtx *umtx, int op, long id, void *uaddr,\
 		    void *uaddr2); }
+455	MSTD	{ int thr_create2(struct thr_param *param, int param_size); }
+
 ; Please copy any additions and changes to the following compatability tables:
 ; sys/compat/freebsd32/syscalls.master

==== //depot/projects/davidxu_thread/src/sys/sys/syscall.h#7 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/sys/syscall.h,v 1.169 2005/03/01 17:44:34 ps Exp $
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.186 2005/03/01 17:43:08 ps Exp 
+ * $FreeBSD$
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.187 2005/03/09 11:50:55 stefanf Exp 
  */
 
 #define	SYS_syscall	0
@@ -368,4 +368,5 @@
 #define	SYS_setaudit_addr	452
 #define	SYS_auditctl	453
 #define	SYS__umtx_op	454
-#define	SYS_MAXSYSCALL	455
+#define	SYS_thr_create2	455
+#define	SYS_MAXSYSCALL	456

==== //depot/projects/davidxu_thread/src/sys/sys/syscall.mk#7 (text+ko) ====

@@ -1,7 +1,7 @@
 # FreeBSD system call names.
 # DO NOT EDIT-- this file is automatically generated.
-# $FreeBSD: src/sys/sys/syscall.mk,v 1.124 2005/03/01 17:44:34 ps Exp $
-# created from FreeBSD: src/sys/kern/syscalls.master,v 1.186 2005/03/01 17:43:08 ps Exp 
+# $FreeBSD$
+# created from FreeBSD: src/sys/kern/syscalls.master,v 1.187 2005/03/09 11:50:55 stefanf Exp 
 MIASM =  \
 	syscall.o \
 	exit.o \
@@ -309,4 +309,5 @@
 	getaudit_addr.o \
 	setaudit_addr.o \
 	auditctl.o \
-	_umtx_op.o
+	_umtx_op.o \
+	thr_create2.o

==== //depot/projects/davidxu_thread/src/sys/sys/sysproto.h#7 (text+ko) ====

@@ -2,8 +2,8 @@
  * System call prototypes.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/sys/sysproto.h,v 1.168 2005/03/01 17:44:34 ps Exp $
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.186 2005/03/01 17:43:08 ps Exp 
+ * $FreeBSD$
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.187 2005/03/09 11:50:55 stefanf Exp 
  */
 
 #ifndef _SYS_SYSPROTO_H_
@@ -1349,6 +1349,10 @@
 	char uaddr_l_[PADL_(void *)]; void * uaddr; char uaddr_r_[PADR_(void *)];
 	char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *)];
 };
+struct thr_create2_args {
+	char param_l_[PADL_(struct thr_param *)]; struct thr_param * param; char param_r_[PADR_(struct thr_param *)];
+	char param_size_l_[PADL_(int)]; int param_size; char param_size_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 *);
@@ -1655,6 +1659,7 @@
 int	setaudit_addr(struct thread *, struct setaudit_addr_args *);
 int	auditctl(struct thread *, struct auditctl_args *);
 int	_umtx_op(struct thread *, struct _umtx_op_args *);
+int	thr_create2(struct thread *, struct thr_create2_args *);
 
 #ifdef COMPAT_43
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504140221.j3E2Lw2A010265>