Regenerate system calls (swapoff added)

This commit is contained in:
dillon 2002-12-15 19:19:15 +00:00
parent b43fb3e920
commit 6bb43f226c
5 changed files with 15 additions and 7 deletions

View File

@ -3,7 +3,7 @@
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$ * $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp * created from FreeBSD: src/sys/kern/syscalls.master,v 1.138 2002/12/15 19:17:56 dillon Exp
*/ */
#include "opt_compat.h" #include "opt_compat.h"
@ -452,4 +452,5 @@ struct sysent sysent[] = {
{ SYF_MPSAFE | AS(getcontext_args), (sy_call_t *)getcontext }, /* 421 = getcontext */ { 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(setcontext_args), (sy_call_t *)setcontext }, /* 422 = setcontext */
{ SYF_MPSAFE | AS(swapcontext_args), (sy_call_t *)swapcontext }, /* 423 = swapcontext */ { SYF_MPSAFE | AS(swapcontext_args), (sy_call_t *)swapcontext }, /* 423 = swapcontext */
{ SYF_MPSAFE | AS(swapoff_args), (sy_call_t *)swapoff }, /* 424 = swapoff */
}; };

View File

@ -3,7 +3,7 @@
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$ * $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp * created from FreeBSD: src/sys/kern/syscalls.master,v 1.138 2002/12/15 19:17:56 dillon Exp
*/ */
const char *syscallnames[] = { const char *syscallnames[] = {
@ -431,4 +431,5 @@ const char *syscallnames[] = {
"getcontext", /* 421 = getcontext */ "getcontext", /* 421 = getcontext */
"setcontext", /* 422 = setcontext */ "setcontext", /* 422 = setcontext */
"swapcontext", /* 423 = swapcontext */ "swapcontext", /* 423 = swapcontext */
"swapoff", /* 424 = swapoff */
}; };

View File

@ -3,7 +3,7 @@
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$ * $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp * created from FreeBSD: src/sys/kern/syscalls.master,v 1.138 2002/12/15 19:17:56 dillon Exp
*/ */
#define SYS_syscall 0 #define SYS_syscall 0
@ -329,4 +329,5 @@
#define SYS_getcontext 421 #define SYS_getcontext 421
#define SYS_setcontext 422 #define SYS_setcontext 422
#define SYS_swapcontext 423 #define SYS_swapcontext 423
#define SYS_MAXSYSCALL 424 #define SYS_swapoff 424
#define SYS_MAXSYSCALL 425

View File

@ -1,7 +1,7 @@
# FreeBSD system call names. # FreeBSD system call names.
# DO NOT EDIT-- this file is automatically generated. # DO NOT EDIT-- this file is automatically generated.
# $FreeBSD$ # $FreeBSD$
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp # created from FreeBSD: src/sys/kern/syscalls.master,v 1.138 2002/12/15 19:17:56 dillon Exp
MIASM = \ MIASM = \
syscall.o \ syscall.o \
exit.o \ exit.o \
@ -274,4 +274,5 @@ MIASM = \
sigreturn.o \ sigreturn.o \
getcontext.o \ getcontext.o \
setcontext.o \ setcontext.o \
swapcontext.o swapcontext.o \
swapoff.o

View File

@ -3,7 +3,7 @@
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$ * $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.137 2002/11/16 06:35:53 deischen Exp * created from FreeBSD: src/sys/kern/syscalls.master,v 1.138 2002/12/15 19:17:56 dillon Exp
*/ */
#ifndef _SYS_SYSPROTO_H_ #ifndef _SYS_SYSPROTO_H_
@ -1201,6 +1201,9 @@ struct swapcontext_args {
char oucp_l_[PADL_(struct __ucontext *)]; struct __ucontext * oucp; char oucp_r_[PADR_(struct __ucontext *)]; 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 *)]; char ucp_l_[PADL_(const struct __ucontext *)]; const struct __ucontext * ucp; char ucp_r_[PADR_(const struct __ucontext *)];
}; };
struct swapoff_args {
char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)];
};
int nosys(struct thread *, struct nosys_args *); int nosys(struct thread *, struct nosys_args *);
void sys_exit(struct thread *, struct sys_exit_args *); void sys_exit(struct thread *, struct sys_exit_args *);
int fork(struct thread *, struct fork_args *); int fork(struct thread *, struct fork_args *);
@ -1472,6 +1475,7 @@ int sigreturn(struct thread *, struct sigreturn_args *);
int getcontext(struct thread *, struct getcontext_args *); int getcontext(struct thread *, struct getcontext_args *);
int setcontext(struct thread *, struct setcontext_args *); int setcontext(struct thread *, struct setcontext_args *);
int swapcontext(struct thread *, struct swapcontext_args *); int swapcontext(struct thread *, struct swapcontext_args *);
int swapoff(struct thread *, struct swapoff_args *);
#ifdef COMPAT_43 #ifdef COMPAT_43