summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2002-11-16 06:36:56 +0000
committerdeischen <deischen@FreeBSD.org>2002-11-16 06:36:56 +0000
commit91025844c1a7cf1523cf1faa412937f09a9bb03f (patch)
tree48eae0d4a6aa79086710b4462530ece3c0e83088 /sys
parent31ea801074585bde84b74ea76bbedd715ad2f3a4 (diff)
downloadFreeBSD-src-91025844c1a7cf1523cf1faa412937f09a9bb03f.zip
FreeBSD-src-91025844c1a7cf1523cf1faa412937f09a9bb03f.tar.gz
Regenerate after adding system calls.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c5
-rw-r--r--sys/kern/syscalls.c5
-rw-r--r--sys/sys/syscall.h7
-rw-r--r--sys/sys/syscall.mk7
-rw-r--r--sys/sys/sysproto.h15
5 files changed, 32 insertions, 7 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 744ad60..3542f54 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.136 2002/11/05 17:47:08 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp
*/
#include "opt_compat.h"
@@ -449,4 +449,7 @@ struct sysent sysent[] = {
{ 0, (sy_call_t *)nosys }, /* 418 = __xstat */
{ 0, (sy_call_t *)nosys }, /* 419 = __xfstat */
{ 0, (sy_call_t *)nosys }, /* 420 = __xlstat */
+ { SYF_MPSAFE | AS(getcontext_args), (sy_call_t *)getcontext }, /* 421 = getcontext */
+ { SYF_MPSAFE | AS(setcontext_args), (sy_call_t *)setcontext }, /* 422 = setcontext */
+ { SYF_MPSAFE | AS(swapcontext_args), (sy_call_t *)swapcontext }, /* 423 = swapcontext */
};
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index d2c4b9e..2bfe3f3 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.136 2002/11/05 17:47:08 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp
*/
const char *syscallnames[] = {
@@ -428,4 +428,7 @@ const char *syscallnames[] = {
"#418", /* 418 = __xstat */
"#419", /* 419 = __xfstat */
"#420", /* 420 = __xlstat */
+ "getcontext", /* 421 = getcontext */
+ "setcontext", /* 422 = setcontext */
+ "swapcontext", /* 423 = swapcontext */
};
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 5c58627..6e7c592 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.136 2002/11/05 17:47:08 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp
*/
#define SYS_syscall 0
@@ -326,4 +326,7 @@
#define SYS___mac_execve 415
#define SYS_sigaction 416
#define SYS_sigreturn 417
-#define SYS_MAXSYSCALL 421
+#define SYS_getcontext 421
+#define SYS_setcontext 422
+#define SYS_swapcontext 423
+#define SYS_MAXSYSCALL 424
diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk
index e63cd38..c065674 100644
--- a/sys/sys/syscall.mk
+++ b/sys/sys/syscall.mk
@@ -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.136 2002/11/05 17:47:08 rwatson Exp
+# created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp
MIASM = \
syscall.o \
exit.o \
@@ -271,4 +271,7 @@ MIASM = \
extattr_delete_link.o \
__mac_execve.o \
sigaction.o \
- sigreturn.o
+ sigreturn.o \
+ getcontext.o \
+ setcontext.o \
+ swapcontext.o
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 485cf60..36575d4 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: src/sys/kern/syscalls.master,v 1.136 2002/11/05 17:47:08 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -1191,6 +1191,16 @@ struct sigaction_args {
struct sigreturn_args {
char sigcntxp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * sigcntxp; char sigcntxp_r_[PADR_(const struct __ucontext *)];
};
+struct getcontext_args {
+ char ucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * ucp; char ucp_r_[PADR_(struct __ucontext *)];
+};
+struct setcontext_args {
+ char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(const struct __ucontext *)];
+};
+struct swapcontext_args {
+ char oucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * oucp; char oucp_r_[PADR_(struct __ucontext *)];
+ char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(const struct __ucontext *)];
+};
int nosys(struct thread *, struct nosys_args *);
void sys_exit(struct thread *, struct sys_exit_args *);
int fork(struct thread *, struct fork_args *);
@@ -1459,6 +1469,9 @@ int extattr_delete_link(struct thread *, struct extattr_delete_link_args *);
int __mac_execve(struct thread *, struct __mac_execve_args *);
int sigaction(struct thread *, struct sigaction_args *);
int sigreturn(struct thread *, struct sigreturn_args *);
+int getcontext(struct thread *, struct getcontext_args *);
+int setcontext(struct thread *, struct setcontext_args *);
+int swapcontext(struct thread *, struct swapcontext_args *);
#ifdef COMPAT_43
OpenPOWER on IntegriCloud