diff options
| author | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-03-07 00:23:58 +0000 |
|---|---|---|
| committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-03-07 00:23:58 +0000 |
| commit | ecab0de7c15ae1368e3192d17532ecd7a1621089 (patch) | |
| tree | a4332caca553ae91b607fa4844059db8ae0420b3 /sys/alpha/linux | |
| parent | e3478fe000ca4a6c8ebcf21fb33c46bc96c139d5 (diff) | |
Notes
Diffstat (limited to 'sys/alpha/linux')
| -rw-r--r-- | sys/alpha/linux/linux_proto.h | 6 | ||||
| -rw-r--r-- | sys/alpha/linux/linux_syscall.h | 2 | ||||
| -rw-r--r-- | sys/alpha/linux/linux_sysent.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h index 8f79dda1acbd..a932f8132abe 100644 --- a/sys/alpha/linux/linux_proto.h +++ b/sys/alpha/linux/linux_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.59 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.60 2005/03/07 00:18:06 sobomax Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -32,6 +32,7 @@ struct thread; #define PADR_(t) 0 #endif +#define nosys linux_nosys struct linux_fork_args { register_t dummy; }; @@ -581,6 +582,7 @@ struct linux_getdents64_args { char dirent_l_[PADL_(void *)]; void * dirent; char dirent_r_[PADR_(void *)]; char count_l_[PADL_(l_uint)]; l_uint count; char count_r_[PADR_(l_uint)]; }; +#define nosys linux_nosys int linux_fork(struct thread *, struct linux_fork_args *); int osf1_wait4(struct thread *, struct osf1_wait4_args *); int linux_link(struct thread *, struct linux_link_args *); @@ -716,12 +718,14 @@ int linux_getdents64(struct thread *, struct linux_getdents64_args *); #ifdef COMPAT_43 +#define nosys linux_nosys #endif /* COMPAT_43 */ #ifdef COMPAT_FREEBSD4 +#define nosys linux_nosys #endif /* COMPAT_FREEBSD4 */ diff --git a/sys/alpha/linux/linux_syscall.h b/sys/alpha/linux/linux_syscall.h index 27f69db5a777..c75c037fa07a 100644 --- a/sys/alpha/linux/linux_syscall.h +++ b/sys/alpha/linux/linux_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.59 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.60 2005/03/07 00:18:06 sobomax Exp */ #define LINUX_SYS_exit 1 diff --git a/sys/alpha/linux/linux_sysent.c b/sys/alpha/linux/linux_sysent.c index 54e450745706..1b4351efff3c 100644 --- a/sys/alpha/linux/linux_sysent.c +++ b/sys/alpha/linux/linux_sysent.c @@ -3,13 +3,14 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.59 2004/08/24 20:21:21 jhb Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.60 2005/03/07 00:18:06 sobomax Exp */ #include "opt_compat.h" #include <sys/param.h> #include <sys/sysent.h> #include <sys/sysproto.h> +#include <compat/linux/linux_sysproto.h> #include <alpha/linux/linux.h> #include <alpha/linux/linux_proto.h> @@ -17,6 +18,7 @@ /* The casts are bogus but will do for now. */ struct sysent linux_sysent[] = { +#define nosys linux_nosys { 0, (sy_call_t *)nosys }, /* 0 = */ { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */ { SYF_MPSAFE | 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */ |
