diff options
-rw-r--r-- | sys/compat/hpux/hpux_syscall.h | 9 | ||||
-rw-r--r-- | sys/compat/hpux/hpux_syscallargs.h | 5 | ||||
-rw-r--r-- | sys/compat/hpux/hpux_syscalls.c | 86 | ||||
-rw-r--r-- | sys/compat/hpux/hpux_sysent.c | 98 |
4 files changed, 116 insertions, 82 deletions
diff --git a/sys/compat/hpux/hpux_syscall.h b/sys/compat/hpux/hpux_syscall.h index 7f66f5266d3..302be029345 100644 --- a/sys/compat/hpux/hpux_syscall.h +++ b/sys/compat/hpux/hpux_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscall.h,v 1.10 2002/10/30 20:11:28 millert Exp $ */ +/* $OpenBSD: hpux_syscall.h,v 1.11 2004/06/30 20:40:26 mickey Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.9 2002/10/30 20:10:48 millert Exp + * created from OpenBSD: syscalls.master,v 1.10 2004/06/30 20:40:05 mickey Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -373,6 +373,9 @@ /* syscall: "getdtablesize" ret: "int" args: */ #define HPUX_SYS_getdtablesize 268 +/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */ +#define HPUX_SYS_poll 269 + /* syscall: "fchdir" ret: "int" args: "int" */ #define HPUX_SYS_fchdir 272 @@ -436,4 +439,4 @@ /* syscall: "nshmctl" ret: "int" args: "int" "int" "caddr_t" */ #define HPUX_SYS_nshmctl 314 -#define HPUX_SYS_MAXSYSCALL 315 +#define HPUX_SYS_MAXSYSCALL 325 diff --git a/sys/compat/hpux/hpux_syscallargs.h b/sys/compat/hpux/hpux_syscallargs.h index b53eb3d49fb..1fbadcfa939 100644 --- a/sys/compat/hpux/hpux_syscallargs.h +++ b/sys/compat/hpux/hpux_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscallargs.h,v 1.12 2002/10/30 20:11:28 millert Exp $ */ +/* $OpenBSD: hpux_syscallargs.h,v 1.13 2004/06/30 20:40:26 mickey Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.9 2002/10/30 20:10:48 millert Exp + * created from OpenBSD: syscalls.master,v 1.10 2004/06/30 20:40:05 mickey Exp */ #ifdef syscallarg @@ -516,6 +516,7 @@ int hpux_sys_sigprocmask(struct proc *, void *, register_t *); int hpux_sys_sigpending(struct proc *, void *, register_t *); int hpux_sys_sigsuspend(struct proc *, void *, register_t *); int compat_43_sys_getdtablesize(struct proc *, void *, register_t *); +int sys_poll(struct proc *, void *, register_t *); int sys_fchdir(struct proc *, void *, register_t *); int compat_43_sys_accept(struct proc *, void *, register_t *); int sys_bind(struct proc *, void *, register_t *); diff --git a/sys/compat/hpux/hpux_syscalls.c b/sys/compat/hpux/hpux_syscalls.c index 7e508527de8..14975674120 100644 --- a/sys/compat/hpux/hpux_syscalls.c +++ b/sys/compat/hpux/hpux_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscalls.c,v 1.10 2002/10/30 20:11:28 millert Exp $ */ +/* $OpenBSD: hpux_syscalls.c,v 1.11 2004/06/30 20:40:26 mickey Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.9 2002/10/30 20:10:48 millert Exp + * created from OpenBSD: syscalls.master,v 1.10 2004/06/30 20:40:05 mickey Exp */ char *hpux_syscallnames[] = { @@ -207,15 +207,15 @@ char *hpux_syscallnames[] = { "#172 (unimplemented unsp_open)", /* 172 = unimplemented unsp_open */ "#173 (unimplemented)", /* 173 = unimplemented */ "getcontext", /* 174 = getcontext */ - "#175 (unimplemented)", /* 175 = unimplemented */ - "#176 (unimplemented)", /* 176 = unimplemented */ - "#177 (unimplemented)", /* 177 = unimplemented */ + "#175 (unimplemented setcontext)", /* 175 = unimplemented setcontext */ + "#176 (unimplemented bigio)", /* 176 = unimplemented bigio */ + "#177 (unimplemented pipenode)", /* 177 = unimplemented pipenode */ "#178 (unimplemented lsync)", /* 178 = unimplemented lsync */ - "#179 (unimplemented)", /* 179 = unimplemented */ + "#179 (unimplemented getmachineid)", /* 179 = unimplemented getmachineid */ "#180 (unimplemented mysite)", /* 180 = unimplemented mysite */ "#181 (unimplemented sitels)", /* 181 = unimplemented sitels */ - "#182 (unimplemented)", /* 182 = unimplemented */ - "#183 (unimplemented)", /* 183 = unimplemented */ + "#182 (unimplemented swapclients)", /* 182 = unimplemented swapclients */ + "#183 (unimplemented rmtprocess)", /* 183 = unimplemented rmtprocess */ "#184 (unimplemented dskless_stats)", /* 184 = unimplemented dskless_stats */ "#185 (unimplemented)", /* 185 = unimplemented */ "#186 (unimplemented setacl)", /* 186 = unimplemented setacl */ @@ -256,7 +256,7 @@ char *hpux_syscallnames[] = { "#221 (unimplemented)", /* 221 = unimplemented */ "#222 (unimplemented)", /* 222 = unimplemented */ "#223 (unimplemented)", /* 223 = unimplemented */ - "#224 (unimplemented)", /* 224 = unimplemented */ + "#224 (unimplemented set_no_trunc)", /* 224 = unimplemented set_no_trunc */ "pathconf", /* 225 = pathconf */ "fpathconf", /* 226 = fpathconf */ "#227 (unimplemented)", /* 227 = unimplemented */ @@ -283,15 +283,15 @@ char *hpux_syscallnames[] = { "#248 (unimplemented)", /* 248 = unimplemented */ "#249 (unimplemented)", /* 249 = unimplemented */ "#250 (unimplemented)", /* 250 = unimplemented */ - "#251 (unimplemented)", /* 251 = unimplemented */ - "#252 (unimplemented)", /* 252 = unimplemented */ - "#253 (unimplemented)", /* 253 = unimplemented */ - "#254 (unimplemented)", /* 254 = unimplemented */ - "#255 (unimplemented)", /* 255 = unimplemented */ - "#256 (unimplemented)", /* 256 = unimplemented */ - "#257 (unimplemented)", /* 257 = unimplemented */ - "#258 (unimplemented)", /* 258 = unimplemented */ - "#259 (unimplemented)", /* 259 = unimplemented */ + "#251 (unimplemented ulconnect)", /* 251 = unimplemented ulconnect */ + "#252 (unimplemented ulcontrol)", /* 252 = unimplemented ulcontrol */ + "#253 (unimplemented ulcreate)", /* 253 = unimplemented ulcreate */ + "#254 (unimplemented uldest)", /* 254 = unimplemented uldest */ + "#255 (unimplemented ulrecv)", /* 255 = unimplemented ulrecv */ + "#256 (unimplemented ulrecvcn)", /* 256 = unimplemented ulrecvcn */ + "#257 (unimplemented ulsend)", /* 257 = unimplemented ulsend */ + "#258 (unimplemented ulshutdown)", /* 258 = unimplemented ulshutdown */ + "#259 (unimplemented swapfs)", /* 259 = unimplemented swapfs */ "#260 (unimplemented)", /* 260 = unimplemented */ "#261 (unimplemented)", /* 261 = unimplemented */ "#262 (unimplemented)", /* 262 = unimplemented */ @@ -299,14 +299,14 @@ char *hpux_syscallnames[] = { "#264 (unimplemented)", /* 264 = unimplemented */ "#265 (unimplemented)", /* 265 = unimplemented */ "#266 (unimplemented)", /* 266 = unimplemented */ - "#267 (unimplemented)", /* 267 = unimplemented */ + "#267 (unimplemented tsync)", /* 267 = unimplemented tsync */ "getdtablesize", /* 268 = getdtablesize */ - "#269 (unimplemented)", /* 269 = unimplemented */ - "#270 (unimplemented)", /* 270 = unimplemented */ - "#271 (unimplemented)", /* 271 = unimplemented */ + "poll", /* 269 = poll */ + "#270 (unimplemented getmsg)", /* 270 = unimplemented getmsg */ + "#271 (unimplemented putmsg)", /* 271 = unimplemented putmsg */ "fchdir", /* 272 = fchdir */ - "#273 (unimplemented)", /* 273 = unimplemented */ - "#274 (unimplemented)", /* 274 = unimplemented */ + "#273 (unimplemented getmount_cnt)", /* 273 = unimplemented getmount_cnt */ + "#274 (unimplemented getmount_entry)", /* 274 = unimplemented getmount_entry */ "accept", /* 275 = accept */ "bind", /* 276 = bind */ "connect", /* 277 = connect */ @@ -330,20 +330,20 @@ char *hpux_syscallnames[] = { "#295 (unimplemented)", /* 295 = unimplemented */ "#296 (unimplemented)", /* 296 = unimplemented */ "#297 (unimplemented)", /* 297 = unimplemented */ - "#298 (unimplemented)", /* 298 = unimplemented */ - "#299 (unimplemented)", /* 299 = unimplemented */ - "#300 (unimplemented)", /* 300 = unimplemented */ - "#301 (unimplemented)", /* 301 = unimplemented */ - "#302 (unimplemented)", /* 302 = unimplemented */ - "#303 (unimplemented)", /* 303 = unimplemented */ - "#304 (unimplemented)", /* 304 = unimplemented */ - "#305 (unimplemented)", /* 305 = unimplemented */ - "#306 (unimplemented)", /* 306 = unimplemented */ - "#307 (unimplemented)", /* 307 = unimplemented */ - "#308 (unimplemented)", /* 308 = unimplemented */ - "#309 (unimplemented)", /* 309 = unimplemented */ - "#310 (unimplemented)", /* 310 = unimplemented */ - "#311 (unimplemented)", /* 311 = unimplemented */ + "#298 (unimplemented ipccreate)", /* 298 = unimplemented ipccreate */ + "#299 (unimplemented ipcname)", /* 299 = unimplemented ipcname */ + "#300 (unimplemented ipcnamerase)", /* 300 = unimplemented ipcnamerase */ + "#301 (unimplemented ipclookup)", /* 301 = unimplemented ipclookup */ + "#302 (unimplemented ipcselect)", /* 302 = unimplemented ipcselect */ + "#303 (unimplemented ipcconnect)", /* 303 = unimplemented ipcconnect */ + "#304 (unimplemented ipcrecvcn)", /* 304 = unimplemented ipcrecvcn */ + "#305 (unimplemented ipcsend)", /* 305 = unimplemented ipcsend */ + "#306 (unimplemented ipcrecv)", /* 306 = unimplemented ipcrecv */ + "#307 (unimplemented ipcgetnodename)", /* 307 = unimplemented ipcgetnodename */ + "#308 (unimplemented ipcsetnodename)", /* 308 = unimplemented ipcsetnodename */ + "#309 (unimplemented ipcontrol)", /* 309 = unimplemented ipcontrol */ + "#310 (unimplemented ipcshutdown)", /* 310 = unimplemented ipcshutdown */ + "#311 (unimplemented ipcdest)", /* 311 = unimplemented ipcdest */ #ifdef SYSVSEM "nsemctl", /* 312 = nsemctl */ #else @@ -359,4 +359,14 @@ char *hpux_syscallnames[] = { #else "#314 (unimplemented shmctl)", /* 314 = unimplemented shmctl */ #endif + "#315 (unimplemented mpctl)", /* 315 = unimplemented mpctl */ + "#316 (unimplemented exportfs)", /* 316 = unimplemented exportfs */ + "#317 (unimplemented getpmsg)", /* 317 = unimplemented getpmsg */ + "#318 (unimplemented putpmsg)", /* 318 = unimplemented putpmsg */ + "#319 (unimplemented strioctl)", /* 319 = unimplemented strioctl */ + "#320 (unimplemented msync)", /* 320 = unimplemented msync */ + "#321 (unimplemented msleep)", /* 321 = unimplemented msleep */ + "#322 (unimplemented mwakeup)", /* 322 = unimplemented mwakeup */ + "#323 (unimplemented msem_init)", /* 323 = unimplemented msem_init */ + "#324 (unimplemented msem_remove)", /* 324 = unimplemented msem_remove */ }; diff --git a/sys/compat/hpux/hpux_sysent.c b/sys/compat/hpux/hpux_sysent.c index 2f272552b37..9df78edf09e 100644 --- a/sys/compat/hpux/hpux_sysent.c +++ b/sys/compat/hpux/hpux_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_sysent.c,v 1.11 2002/10/30 20:11:28 millert Exp $ */ +/* $OpenBSD: hpux_sysent.c,v 1.12 2004/06/30 20:40:26 mickey Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.9 2002/10/30 20:10:48 millert Exp + * created from OpenBSD: syscalls.master,v 1.10 2004/06/30 20:40:05 mickey Exp */ #include <sys/param.h> @@ -407,23 +407,23 @@ struct sysent hpux_sysent[] = { { 2, s(struct hpux_sys_getcontext_args), hpux_sys_getcontext }, /* 174 = getcontext */ { 0, 0, - sys_nosys }, /* 175 = unimplemented */ + sys_nosys }, /* 175 = unimplemented setcontext */ { 0, 0, - sys_nosys }, /* 176 = unimplemented */ + sys_nosys }, /* 176 = unimplemented bigio */ { 0, 0, - sys_nosys }, /* 177 = unimplemented */ + sys_nosys }, /* 177 = unimplemented pipenode */ { 0, 0, sys_nosys }, /* 178 = unimplemented lsync */ { 0, 0, - sys_nosys }, /* 179 = unimplemented */ + sys_nosys }, /* 179 = unimplemented getmachineid */ { 0, 0, sys_nosys }, /* 180 = unimplemented mysite */ { 0, 0, sys_nosys }, /* 181 = unimplemented sitels */ { 0, 0, - sys_nosys }, /* 182 = unimplemented */ + sys_nosys }, /* 182 = unimplemented swapclients */ { 0, 0, - sys_nosys }, /* 183 = unimplemented */ + sys_nosys }, /* 183 = unimplemented rmtprocess */ { 0, 0, sys_nosys }, /* 184 = unimplemented dskless_stats */ { 0, 0, @@ -505,7 +505,7 @@ struct sysent hpux_sysent[] = { { 0, 0, sys_nosys }, /* 223 = unimplemented */ { 0, 0, - sys_nosys }, /* 224 = unimplemented */ + sys_nosys }, /* 224 = unimplemented set_no_trunc */ { 2, s(struct sys_pathconf_args), sys_pathconf }, /* 225 = pathconf */ { 2, s(struct sys_fpathconf_args), @@ -559,23 +559,23 @@ struct sysent hpux_sysent[] = { { 0, 0, sys_nosys }, /* 250 = unimplemented */ { 0, 0, - sys_nosys }, /* 251 = unimplemented */ + sys_nosys }, /* 251 = unimplemented ulconnect */ { 0, 0, - sys_nosys }, /* 252 = unimplemented */ + sys_nosys }, /* 252 = unimplemented ulcontrol */ { 0, 0, - sys_nosys }, /* 253 = unimplemented */ + sys_nosys }, /* 253 = unimplemented ulcreate */ { 0, 0, - sys_nosys }, /* 254 = unimplemented */ + sys_nosys }, /* 254 = unimplemented uldest */ { 0, 0, - sys_nosys }, /* 255 = unimplemented */ + sys_nosys }, /* 255 = unimplemented ulrecv */ { 0, 0, - sys_nosys }, /* 256 = unimplemented */ + sys_nosys }, /* 256 = unimplemented ulrecvcn */ { 0, 0, - sys_nosys }, /* 257 = unimplemented */ + sys_nosys }, /* 257 = unimplemented ulsend */ { 0, 0, - sys_nosys }, /* 258 = unimplemented */ + sys_nosys }, /* 258 = unimplemented ulshutdown */ { 0, 0, - sys_nosys }, /* 259 = unimplemented */ + sys_nosys }, /* 259 = unimplemented swapfs */ { 0, 0, sys_nosys }, /* 260 = unimplemented */ { 0, 0, @@ -591,21 +591,21 @@ struct sysent hpux_sysent[] = { { 0, 0, sys_nosys }, /* 266 = unimplemented */ { 0, 0, - sys_nosys }, /* 267 = unimplemented */ + sys_nosys }, /* 267 = unimplemented tsync */ { 0, 0, compat_43_sys_getdtablesize }, /* 268 = getdtablesize */ + { 3, s(struct sys_poll_args), + sys_poll }, /* 269 = poll */ { 0, 0, - sys_nosys }, /* 269 = unimplemented */ + sys_nosys }, /* 270 = unimplemented getmsg */ { 0, 0, - sys_nosys }, /* 270 = unimplemented */ - { 0, 0, - sys_nosys }, /* 271 = unimplemented */ + sys_nosys }, /* 271 = unimplemented putmsg */ { 1, s(struct sys_fchdir_args), sys_fchdir }, /* 272 = fchdir */ { 0, 0, - sys_nosys }, /* 273 = unimplemented */ + sys_nosys }, /* 273 = unimplemented getmount_cnt */ { 0, 0, - sys_nosys }, /* 274 = unimplemented */ + sys_nosys }, /* 274 = unimplemented getmount_entry */ { 3, s(struct compat_43_sys_accept_args), compat_43_sys_accept }, /* 275 = accept */ { 3, s(struct sys_bind_args), @@ -653,33 +653,33 @@ struct sysent hpux_sysent[] = { { 0, 0, sys_nosys }, /* 297 = unimplemented */ { 0, 0, - sys_nosys }, /* 298 = unimplemented */ + sys_nosys }, /* 298 = unimplemented ipccreate */ { 0, 0, - sys_nosys }, /* 299 = unimplemented */ + sys_nosys }, /* 299 = unimplemented ipcname */ { 0, 0, - sys_nosys }, /* 300 = unimplemented */ + sys_nosys }, /* 300 = unimplemented ipcnamerase */ { 0, 0, - sys_nosys }, /* 301 = unimplemented */ + sys_nosys }, /* 301 = unimplemented ipclookup */ { 0, 0, - sys_nosys }, /* 302 = unimplemented */ + sys_nosys }, /* 302 = unimplemented ipcselect */ { 0, 0, - sys_nosys }, /* 303 = unimplemented */ + sys_nosys }, /* 303 = unimplemented ipcconnect */ { 0, 0, - sys_nosys }, /* 304 = unimplemented */ + sys_nosys }, /* 304 = unimplemented ipcrecvcn */ { 0, 0, - sys_nosys }, /* 305 = unimplemented */ + sys_nosys }, /* 305 = unimplemented ipcsend */ { 0, 0, - sys_nosys }, /* 306 = unimplemented */ + sys_nosys }, /* 306 = unimplemented ipcrecv */ { 0, 0, - sys_nosys }, /* 307 = unimplemented */ + sys_nosys }, /* 307 = unimplemented ipcgetnodename */ { 0, 0, - sys_nosys }, /* 308 = unimplemented */ + sys_nosys }, /* 308 = unimplemented ipcsetnodename */ { 0, 0, - sys_nosys }, /* 309 = unimplemented */ + sys_nosys }, /* 309 = unimplemented ipcontrol */ { 0, 0, - sys_nosys }, /* 310 = unimplemented */ + sys_nosys }, /* 310 = unimplemented ipcshutdown */ { 0, 0, - sys_nosys }, /* 311 = unimplemented */ + sys_nosys }, /* 311 = unimplemented ipcdest */ #ifdef SYSVSEM { 4, s(struct sys___semctl_args), sys___semctl }, /* 312 = nsemctl */ @@ -701,5 +701,25 @@ struct sysent hpux_sysent[] = { { 0, 0, sys_nosys }, /* 314 = unimplemented shmctl */ #endif + { 0, 0, + sys_nosys }, /* 315 = unimplemented mpctl */ + { 0, 0, + sys_nosys }, /* 316 = unimplemented exportfs */ + { 0, 0, + sys_nosys }, /* 317 = unimplemented getpmsg */ + { 0, 0, + sys_nosys }, /* 318 = unimplemented putpmsg */ + { 0, 0, + sys_nosys }, /* 319 = unimplemented strioctl */ + { 0, 0, + sys_nosys }, /* 320 = unimplemented msync */ + { 0, 0, + sys_nosys }, /* 321 = unimplemented msleep */ + { 0, 0, + sys_nosys }, /* 322 = unimplemented mwakeup */ + { 0, 0, + sys_nosys }, /* 323 = unimplemented msem_init */ + { 0, 0, + sys_nosys }, /* 324 = unimplemented msem_remove */ }; |