From 3d445ed2f2296f8e48f68e61e24de3eb40e4bdcc Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 8 Jun 2005 20:47:30 +0000 Subject: Regen after addition of linux_getpriority wrapper. PR: kern/81951 Submitted by: Andriy Gapon MFC after: 1 week --- sys/alpha/linux/linux_proto.h | 7 ++++++- sys/alpha/linux/linux_syscall.h | 3 ++- sys/alpha/linux/linux_sysent.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) (limited to 'sys/alpha') diff --git a/sys/alpha/linux/linux_proto.h b/sys/alpha/linux/linux_proto.h index f559322..50c4baa 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.62 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.63 2005/06/08 20:41:27 sobomax Exp */ #ifndef _LINUX_SYSPROTO_H_ @@ -199,6 +199,10 @@ struct linux_connect_args { char name_l_[PADL_(struct l_sockaddr *)]; struct l_sockaddr * name; char name_r_[PADR_(struct l_sockaddr *)]; char namelen_l_[PADL_(l_int)]; l_int namelen; char namelen_r_[PADR_(l_int)]; }; +struct linux_getpriority_args { + char which_l_[PADL_(int)]; int which; char which_r_[PADR_(int)]; + char who_l_[PADL_(int)]; int who; char who_r_[PADR_(int)]; +}; struct osf1_sigreturn_args { char sigcntxp_l_[PADL_(struct osigcontext *)]; struct osigcontext * sigcntxp; char sigcntxp_r_[PADR_(struct osigcontext *)]; }; @@ -622,6 +626,7 @@ int linux_fcntl(struct thread *, struct linux_fcntl_args *); int osf1_select(struct thread *, struct osf1_select_args *); int osf1_socket(struct thread *, struct osf1_socket_args *); int linux_connect(struct thread *, struct linux_connect_args *); +int linux_getpriority(struct thread *, struct linux_getpriority_args *); int osf1_sigreturn(struct thread *, struct osf1_sigreturn_args *); int osf1_sigsuspend(struct thread *, struct osf1_sigsuspend_args *); int linux_recvmsg(struct thread *, struct linux_recvmsg_args *); diff --git a/sys/alpha/linux/linux_syscall.h b/sys/alpha/linux/linux_syscall.h index c2eb57b..cc1df7c 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.62 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.63 2005/06/08 20:41:27 sobomax Exp */ #define LINUX_SYS_exit 1 @@ -69,6 +69,7 @@ #define LINUX_SYS_osf1_socket 97 #define LINUX_SYS_linux_connect 98 #define LINUX_SYS_accept 99 +#define LINUX_SYS_linux_getpriority 100 #define LINUX_SYS_osend 101 #define LINUX_SYS_orecv 102 #define LINUX_SYS_osf1_sigreturn 103 diff --git a/sys/alpha/linux/linux_sysent.c b/sys/alpha/linux/linux_sysent.c index dca3d04..3a3d00d 100644 --- a/sys/alpha/linux/linux_sysent.c +++ b/sys/alpha/linux/linux_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.62 2005/05/30 15:09:16 rwatson Exp + * created from FreeBSD: src/sys/alpha/linux/syscalls.master,v 1.63 2005/06/08 20:41:27 sobomax Exp */ #include @@ -120,7 +120,7 @@ struct sysent linux_sysent[] = { { AS(osf1_socket_args), (sy_call_t *)osf1_socket, AUE_NULL }, /* 97 = osf1_socket */ { AS(linux_connect_args), (sy_call_t *)linux_connect, AUE_NULL }, /* 98 = linux_connect */ { AS(accept_args), (sy_call_t *)oaccept, AUE_NULL }, /* 99 = accept */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 100 = osf_getpriority */ + { SYF_MPSAFE | AS(linux_getpriority_args), (sy_call_t *)linux_getpriority, AUE_NULL }, /* 100 = linux_getpriority */ { AS(osend_args), (sy_call_t *)osend, AUE_NULL }, /* 101 = osend */ { AS(orecv_args), (sy_call_t *)orecv, AUE_NULL }, /* 102 = orecv */ { SYF_MPSAFE | AS(osf1_sigreturn_args), (sy_call_t *)osf1_sigreturn, AUE_NULL }, /* 103 = osf1_sigreturn */ -- cgit v1.1