diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-07-13 02:32:30 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2004-07-13 02:32:30 +0000 |
commit | ced9d22e70ef6f6b46e5b42c878bdf47b6c86196 (patch) | |
tree | 470622da8effc3735d334a2e048c0be3d79c7c25 /sys | |
parent | 2c54130b102191641f5a79428ddb50701f869123 (diff) |
regen
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscall.h | 22 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscallargs.h | 10 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_syscalls.c | 16 | ||||
-rw-r--r-- | sys/compat/hpux/hppa/hpux_sysent.c | 28 |
4 files changed, 50 insertions, 26 deletions
diff --git a/sys/compat/hpux/hppa/hpux_syscall.h b/sys/compat/hpux/hppa/hpux_syscall.h index 224dc6f2f9f..f5d2e7033cf 100644 --- a/sys/compat/hpux/hppa/hpux_syscall.h +++ b/sys/compat/hpux/hppa/hpux_syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscall.h,v 1.4 2004/07/13 01:03:22 mickey Exp $ */ +/* $OpenBSD: hpux_syscall.h,v 1.5 2004/07/13 02:32:29 mickey Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.4 2004/07/13 01:03:01 mickey Exp + * created from OpenBSD: syscalls.master,v 1.5 2004/07/13 02:32:11 mickey Exp */ /* syscall: "syscall" ret: "int" args: */ @@ -175,6 +175,9 @@ /* syscall: "mprotect" ret: "int" args: "caddr_t" "size_t" "int" */ #define HPUX_SYS_mprotect 74 +/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */ +#define HPUX_SYS_madvise 75 + /* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */ #define HPUX_SYS_getgroups 79 @@ -400,6 +403,9 @@ /* syscall: "nshmctl" ret: "int" args: "int" "int" "caddr_t" */ #define HPUX_SYS_nshmctl 314 +/* syscall: "msync" ret: "int" args: "void *" "size_t" "int" */ +#define HPUX_SYS_msync 320 + /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ #define HPUX_SYS_lchown 332 @@ -409,4 +415,16 @@ /* syscall: "sigaltstack" ret: "int" args: "const struct hpux_sigaltstack *" "struct hpux_sigaltstack *" */ #define HPUX_SYS_sigaltstack 381 +/* syscall: "mlock" ret: "int" args: "const void *" "size_t" */ +#define HPUX_SYS_mlock 421 + +/* syscall: "munlock" ret: "int" args: "const void *" "size_t" */ +#define HPUX_SYS_munlock 422 + +/* syscall: "mlockall" ret: "int" args: "int" */ +#define HPUX_SYS_mlockall 423 + +/* syscall: "munlockall" ret: "int" args: */ +#define HPUX_SYS_munlockall 424 + #define HPUX_SYS_MAXSYSCALL 526 diff --git a/sys/compat/hpux/hppa/hpux_syscallargs.h b/sys/compat/hpux/hppa/hpux_syscallargs.h index 53fc0a1be27..b258d0251f1 100644 --- a/sys/compat/hpux/hppa/hpux_syscallargs.h +++ b/sys/compat/hpux/hppa/hpux_syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscallargs.h,v 1.4 2004/07/13 01:03:22 mickey Exp $ */ +/* $OpenBSD: hpux_syscallargs.h,v 1.5 2004/07/13 02:32:29 mickey Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.4 2004/07/13 01:03:01 mickey Exp + * created from OpenBSD: syscalls.master,v 1.5 2004/07/13 02:32:11 mickey Exp */ #ifdef syscallarg @@ -405,6 +405,7 @@ int hpux_sys_vfork(struct proc *, void *, register_t *); int hpux_sys_mmap(struct proc *, void *, register_t *); int sys_munmap(struct proc *, void *, register_t *); int sys_mprotect(struct proc *, void *, register_t *); +int sys_madvise(struct proc *, void *, register_t *); int sys_getgroups(struct proc *, void *, register_t *); int sys_setgroups(struct proc *, void *, register_t *); int hpux_sys_getpgrp2(struct proc *, void *, register_t *); @@ -498,6 +499,11 @@ int sys_msgctl(struct proc *, void *, register_t *); int hpux_sys_nshmctl(struct proc *, void *, register_t *); #else #endif +int sys_msync(struct proc *, void *, register_t *); int sys_lchown(struct proc *, void *, register_t *); int sys_nanosleep(struct proc *, void *, register_t *); int hpux_sys_sigaltstack(struct proc *, void *, register_t *); +int sys_mlock(struct proc *, void *, register_t *); +int sys_munlock(struct proc *, void *, register_t *); +int sys_mlockall(struct proc *, void *, register_t *); +int sys_munlockall(struct proc *, void *, register_t *); diff --git a/sys/compat/hpux/hppa/hpux_syscalls.c b/sys/compat/hpux/hppa/hpux_syscalls.c index fc084937915..5c26bc69740 100644 --- a/sys/compat/hpux/hppa/hpux_syscalls.c +++ b/sys/compat/hpux/hppa/hpux_syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_syscalls.c,v 1.4 2004/07/13 01:03:22 mickey Exp $ */ +/* $OpenBSD: hpux_syscalls.c,v 1.5 2004/07/13 02:32:29 mickey Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.4 2004/07/13 01:03:01 mickey Exp + * created from OpenBSD: syscalls.master,v 1.5 2004/07/13 02:32:11 mickey Exp */ char *hpux_syscallnames[] = { @@ -87,7 +87,7 @@ char *hpux_syscallnames[] = { "#72 (unimplemented)", /* 72 = unimplemented */ "munmap", /* 73 = munmap */ "mprotect", /* 74 = mprotect */ - "#75 (unimplemented madvise)", /* 75 = unimplemented madvise */ + "madvise", /* 75 = madvise */ "#76 (unimplemented vhangup)", /* 76 = unimplemented vhangup */ "#77 (unimplemented swapoff)", /* 77 = unimplemented swapoff */ "#78 (unimplemented)", /* 78 = unimplemented */ @@ -364,7 +364,7 @@ char *hpux_syscallnames[] = { "#317 (unimplemented getpmsg)", /* 317 = unimplemented getpmsg */ "#318 (unimplemented putpmsg)", /* 318 = unimplemented putpmsg */ "#319 (unimplemented)", /* 319 = unimplemented */ - "#320 (unimplemented msync)", /* 320 = unimplemented msync */ + "msync", /* 320 = msync */ "#321 (unimplemented msleep)", /* 321 = unimplemented msleep */ "#322 (unimplemented mwakeup)", /* 322 = unimplemented mwakeup */ "#323 (unimplemented msem_init)", /* 323 = unimplemented msem_init */ @@ -465,10 +465,10 @@ char *hpux_syscallnames[] = { "#418 (unimplemented lwp_getstate)", /* 418 = unimplemented lwp_getstate */ "#419 (unimplemented lwp_setstate)", /* 419 = unimplemented lwp_setstate */ "#420 (unimplemented lwp_detach)", /* 420 = unimplemented lwp_detach */ - "#421 (unimplemented mlock)", /* 421 = unimplemented mlock */ - "#422 (unimplemented munlock)", /* 422 = unimplemented munlock */ - "#423 (unimplemented mlockall)", /* 423 = unimplemented mlockall */ - "#424 (unimplemented munlockall)", /* 424 = unimplemented munlockall */ + "mlock", /* 421 = mlock */ + "munlock", /* 422 = munlock */ + "mlockall", /* 423 = mlockall */ + "munlockall", /* 424 = munlockall */ "#425 (unimplemented shm_open)", /* 425 = unimplemented shm_open */ "#426 (unimplemented shm_unlink)", /* 426 = unimplemented shm_unlink */ "#427 (unimplemented sigqueue)", /* 427 = unimplemented sigqueue */ diff --git a/sys/compat/hpux/hppa/hpux_sysent.c b/sys/compat/hpux/hppa/hpux_sysent.c index a1614e75390..dde6f19cd0d 100644 --- a/sys/compat/hpux/hppa/hpux_sysent.c +++ b/sys/compat/hpux/hppa/hpux_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: hpux_sysent.c,v 1.4 2004/07/13 01:03:22 mickey Exp $ */ +/* $OpenBSD: hpux_sysent.c,v 1.5 2004/07/13 02:32:29 mickey Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from OpenBSD: syscalls.master,v 1.4 2004/07/13 01:03:01 mickey Exp + * created from OpenBSD: syscalls.master,v 1.5 2004/07/13 02:32:11 mickey Exp */ #include <sys/param.h> @@ -175,8 +175,8 @@ struct sysent hpux_sysent[] = { sys_munmap }, /* 73 = munmap */ { 3, s(struct sys_mprotect_args), sys_mprotect }, /* 74 = mprotect */ - { 0, 0, - sys_nosys }, /* 75 = unimplemented madvise */ + { 3, s(struct sys_madvise_args), + sys_madvise }, /* 75 = madvise */ { 0, 0, sys_nosys }, /* 76 = unimplemented vhangup */ { 0, 0, @@ -711,8 +711,8 @@ struct sysent hpux_sysent[] = { sys_nosys }, /* 318 = unimplemented putpmsg */ { 0, 0, sys_nosys }, /* 319 = unimplemented */ - { 0, 0, - sys_nosys }, /* 320 = unimplemented msync */ + { 3, s(struct sys_msync_args), + sys_msync }, /* 320 = msync */ { 0, 0, sys_nosys }, /* 321 = unimplemented msleep */ { 0, 0, @@ -913,14 +913,14 @@ struct sysent hpux_sysent[] = { sys_nosys }, /* 419 = unimplemented lwp_setstate */ { 0, 0, sys_nosys }, /* 420 = unimplemented lwp_detach */ - { 0, 0, - sys_nosys }, /* 421 = unimplemented mlock */ - { 0, 0, - sys_nosys }, /* 422 = unimplemented munlock */ - { 0, 0, - sys_nosys }, /* 423 = unimplemented mlockall */ - { 0, 0, - sys_nosys }, /* 424 = unimplemented munlockall */ + { 2, s(struct sys_mlock_args), + sys_mlock }, /* 421 = mlock */ + { 2, s(struct sys_munlock_args), + sys_munlock }, /* 422 = munlock */ + { 1, s(struct sys_mlockall_args), + sys_mlockall }, /* 423 = mlockall */ + { 0, 0, + sys_munlockall }, /* 424 = munlockall */ { 0, 0, sys_nosys }, /* 425 = unimplemented shm_open */ { 0, 0, |