diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_sysent.c | 14 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 14 | ||||
-rw-r--r-- | sys/sys/syscall.h | 11 | ||||
-rw-r--r-- | sys/sys/syscall.mk | 11 | ||||
-rw-r--r-- | sys/sys/sysproto.h | 37 |
5 files changed, 54 insertions, 33 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 7304a1b..23eea30 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.202 2005/10/23 04:22:55 davidxu Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.203 2005/10/30 02:12:49 davidxu Exp */ #include "opt_compat.h" @@ -284,9 +284,9 @@ struct sysent sysent[] = { { SYF_MPSAFE | AS(openbsd_poll_args), (sy_call_t *)openbsd_poll, AUE_NULL }, /* 252 = openbsd_poll */ { SYF_MPSAFE | 0, (sy_call_t *)issetugid, AUE_NULL }, /* 253 = issetugid */ { SYF_MPSAFE | AS(lchown_args), (sy_call_t *)lchown, AUE_NULL }, /* 254 = lchown */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 255 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 256 = nosys */ - { 0, (sy_call_t *)nosys, AUE_NULL }, /* 257 = nosys */ + { AS(aio_read_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 255 = aio_read */ + { AS(aio_write_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 256 = aio_write */ + { AS(lio_listio_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 257 = lio_listio */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 258 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 259 = nosys */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 260 = nosys */ @@ -347,9 +347,9 @@ struct sysent sysent[] = { { AS(aio_suspend_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 315 = aio_suspend */ { AS(aio_cancel_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 316 = aio_cancel */ { AS(aio_error_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 317 = aio_error */ - { AS(aio_read_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 318 = aio_read */ - { AS(aio_write_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 319 = aio_write */ - { AS(lio_listio_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 320 = lio_listio */ + { AS(oaio_read_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 318 = oaio_read */ + { AS(oaio_write_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 319 = oaio_write */ + { AS(olio_listio_args), (sy_call_t *)lkmressys, AUE_NULL }, /* 320 = olio_listio */ { SYF_MPSAFE | 0, (sy_call_t *)yield, AUE_NULL }, /* 321 = yield */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 322 = obsolete thr_sleep */ { 0, (sy_call_t *)nosys, AUE_NULL }, /* 323 = obsolete thr_wakeup */ diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 7593e6e..b4cf508 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.202 2005/10/23 04:22:55 davidxu Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.203 2005/10/30 02:12:49 davidxu Exp */ const char *syscallnames[] = { @@ -262,9 +262,9 @@ const char *syscallnames[] = { "openbsd_poll", /* 252 = openbsd_poll */ "issetugid", /* 253 = issetugid */ "lchown", /* 254 = lchown */ - "#255", /* 255 = nosys */ - "#256", /* 256 = nosys */ - "#257", /* 257 = nosys */ + "aio_read", /* 255 = aio_read */ + "aio_write", /* 256 = aio_write */ + "lio_listio", /* 257 = lio_listio */ "#258", /* 258 = nosys */ "#259", /* 259 = nosys */ "#260", /* 260 = nosys */ @@ -325,9 +325,9 @@ const char *syscallnames[] = { "aio_suspend", /* 315 = aio_suspend */ "aio_cancel", /* 316 = aio_cancel */ "aio_error", /* 317 = aio_error */ - "aio_read", /* 318 = aio_read */ - "aio_write", /* 319 = aio_write */ - "lio_listio", /* 320 = lio_listio */ + "oaio_read", /* 318 = oaio_read */ + "oaio_write", /* 319 = oaio_write */ + "olio_listio", /* 320 = olio_listio */ "yield", /* 321 = yield */ "obs_thr_sleep", /* 322 = obsolete thr_sleep */ "obs_thr_wakeup", /* 323 = obsolete thr_wakeup */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 4ed4644..8924089 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.202 2005/10/23 04:22:55 davidxu Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.203 2005/10/30 02:12:49 davidxu Exp */ #define SYS_syscall 0 @@ -220,6 +220,9 @@ #define SYS_openbsd_poll 252 #define SYS_issetugid 253 #define SYS_lchown 254 +#define SYS_aio_read 255 +#define SYS_aio_write 256 +#define SYS_lio_listio 257 #define SYS_getdents 272 #define SYS_lchmod 274 #define SYS_netbsd_lchown 275 @@ -251,9 +254,9 @@ #define SYS_aio_suspend 315 #define SYS_aio_cancel 316 #define SYS_aio_error 317 -#define SYS_aio_read 318 -#define SYS_aio_write 319 -#define SYS_lio_listio 320 +#define SYS_oaio_read 318 +#define SYS_oaio_write 319 +#define SYS_olio_listio 320 #define SYS_yield 321 /* 322 is obsolete thr_sleep */ /* 323 is obsolete thr_wakeup */ diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index af9fa6b..952311f 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.202 2005/10/23 04:22:55 davidxu Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.203 2005/10/30 02:12:49 davidxu Exp MIASM = \ syscall.o \ exit.o \ @@ -169,6 +169,9 @@ MIASM = \ openbsd_poll.o \ issetugid.o \ lchown.o \ + aio_read.o \ + aio_write.o \ + lio_listio.o \ getdents.o \ lchmod.o \ netbsd_lchown.o \ @@ -198,9 +201,9 @@ MIASM = \ aio_suspend.o \ aio_cancel.o \ aio_error.o \ - aio_read.o \ - aio_write.o \ - lio_listio.o \ + oaio_read.o \ + oaio_write.o \ + olio_listio.o \ yield.o \ mlockall.o \ munlockall.o \ diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index f0543d9..407852c 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.202 2005/10/23 04:22:55 davidxu Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.203 2005/10/30 02:12:49 davidxu Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -768,6 +768,18 @@ struct lchown_args { char uid_l_[PADL_(int)]; int uid; char uid_r_[PADR_(int)]; char gid_l_[PADL_(int)]; int gid; char gid_r_[PADR_(int)]; }; +struct aio_read_args { + char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; +}; +struct aio_write_args { + char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; +}; +struct lio_listio_args { + char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; + char acb_list_l_[PADL_(struct aiocb *const *)]; struct aiocb *const * acb_list; char acb_list_r_[PADR_(struct aiocb *const *)]; + char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; + char sig_l_[PADL_(struct sigevent *)]; struct sigevent * sig; char sig_r_[PADR_(struct sigevent *)]; +}; struct getdents_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(char *)]; char * buf; char buf_r_[PADR_(char *)]; @@ -873,17 +885,17 @@ struct aio_cancel_args { struct aio_error_args { char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; }; -struct aio_read_args { - char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; +struct oaio_read_args { + char aiocbp_l_[PADL_(struct oaiocb *)]; struct oaiocb * aiocbp; char aiocbp_r_[PADR_(struct oaiocb *)]; }; -struct aio_write_args { - char aiocbp_l_[PADL_(struct aiocb *)]; struct aiocb * aiocbp; char aiocbp_r_[PADR_(struct aiocb *)]; +struct oaio_write_args { + char aiocbp_l_[PADL_(struct oaiocb *)]; struct oaiocb * aiocbp; char aiocbp_r_[PADR_(struct oaiocb *)]; }; -struct lio_listio_args { +struct olio_listio_args { char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; - char acb_list_l_[PADL_(struct aiocb *const *)]; struct aiocb *const * acb_list; char acb_list_r_[PADR_(struct aiocb *const *)]; + char acb_list_l_[PADL_(struct oaiocb *const *)]; struct oaiocb *const * acb_list; char acb_list_r_[PADR_(struct oaiocb *const *)]; char nent_l_[PADL_(int)]; int nent; char nent_r_[PADR_(int)]; - char sig_l_[PADL_(struct sigevent *)]; struct sigevent * sig; char sig_r_[PADR_(struct sigevent *)]; + char sig_l_[PADL_(struct osigevent *)]; struct osigevent * sig; char sig_r_[PADR_(struct osigevent *)]; }; struct yield_args { register_t dummy; @@ -1557,6 +1569,9 @@ int rfork(struct thread *, struct rfork_args *); int openbsd_poll(struct thread *, struct openbsd_poll_args *); int issetugid(struct thread *, struct issetugid_args *); int lchown(struct thread *, struct lchown_args *); +int aio_read(struct thread *, struct aio_read_args *); +int aio_write(struct thread *, struct aio_write_args *); +int lio_listio(struct thread *, struct lio_listio_args *); int getdents(struct thread *, struct getdents_args *); int lchmod(struct thread *, struct lchmod_args *); int lutimes(struct thread *, struct lutimes_args *); @@ -1584,9 +1599,9 @@ int aio_return(struct thread *, struct aio_return_args *); int aio_suspend(struct thread *, struct aio_suspend_args *); int aio_cancel(struct thread *, struct aio_cancel_args *); int aio_error(struct thread *, struct aio_error_args *); -int aio_read(struct thread *, struct aio_read_args *); -int aio_write(struct thread *, struct aio_write_args *); -int lio_listio(struct thread *, struct lio_listio_args *); +int oaio_read(struct thread *, struct oaio_read_args *); +int oaio_write(struct thread *, struct oaio_write_args *); +int olio_listio(struct thread *, struct olio_listio_args *); int yield(struct thread *, struct yield_args *); int mlockall(struct thread *, struct mlockall_args *); int munlockall(struct thread *, struct munlockall_args *); |