summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-07-14 15:55:39 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-07-14 15:55:39 +0000
commit8960fb7a84220a296640b2d5ac5f7968ba6c9a74 (patch)
tree3026929cfd508f8e633af4a859a2996abac30fb6
parent87cc52b3a5119b3cc65732c7a873c17a2704d1f8 (diff)
regen
-rw-r--r--sys/compat/hpux/hppa/hpux_syscall.h10
-rw-r--r--sys/compat/hpux/hppa/hpux_syscallargs.h6
-rw-r--r--sys/compat/hpux/hppa/hpux_syscalls.c8
-rw-r--r--sys/compat/hpux/hppa/hpux_sysent.c12
4 files changed, 22 insertions, 14 deletions
diff --git a/sys/compat/hpux/hppa/hpux_syscall.h b/sys/compat/hpux/hppa/hpux_syscall.h
index f5d2e7033cf..0bacfccc9e4 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.5 2004/07/13 02:32:29 mickey Exp $ */
+/* $OpenBSD: hpux_syscall.h,v 1.6 2004/07/14 15:55:38 mickey Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.5 2004/07/13 02:32:11 mickey Exp
+ * created from OpenBSD: syscalls.master,v 1.6 2004/07/14 15:54:56 mickey Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -211,6 +211,12 @@
/* syscall: "fsync" ret: "int" args: "int" */
#define HPUX_SYS_fsync 95
+/* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */
+#define HPUX_SYS_setpriority 96
+
+/* syscall: "getpriority" ret: "int" args: "int" "id_t" */
+#define HPUX_SYS_getpriority 100
+
/* syscall: "sigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
#define HPUX_SYS_sigvec 108
diff --git a/sys/compat/hpux/hppa/hpux_syscallargs.h b/sys/compat/hpux/hppa/hpux_syscallargs.h
index b258d0251f1..72341afb7e9 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.5 2004/07/13 02:32:29 mickey Exp $ */
+/* $OpenBSD: hpux_syscallargs.h,v 1.6 2004/07/14 15:55:38 mickey Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.5 2004/07/13 02:32:11 mickey Exp
+ * created from OpenBSD: syscalls.master,v 1.6 2004/07/14 15:54:56 mickey Exp
*/
#ifdef syscallarg
@@ -417,6 +417,8 @@ int sys_dup2(struct proc *, void *, register_t *);
int hpux_sys_fstat(struct proc *, void *, register_t *);
int sys_select(struct proc *, void *, register_t *);
int sys_fsync(struct proc *, void *, register_t *);
+int sys_setpriority(struct proc *, void *, register_t *);
+int sys_getpriority(struct proc *, void *, register_t *);
int hpux_sys_sigvec(struct proc *, void *, register_t *);
int hpux_sys_sigblock(struct proc *, void *, register_t *);
int hpux_sys_sigsetmask(struct proc *, void *, register_t *);
diff --git a/sys/compat/hpux/hppa/hpux_syscalls.c b/sys/compat/hpux/hppa/hpux_syscalls.c
index 5c26bc69740..975a21d66d9 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.5 2004/07/13 02:32:29 mickey Exp $ */
+/* $OpenBSD: hpux_syscalls.c,v 1.6 2004/07/14 15:55:38 mickey Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.5 2004/07/13 02:32:11 mickey Exp
+ * created from OpenBSD: syscalls.master,v 1.6 2004/07/14 15:54:56 mickey Exp
*/
char *hpux_syscallnames[] = {
@@ -108,11 +108,11 @@ char *hpux_syscallnames[] = {
"select", /* 93 = select */
"#94 (unimplemented)", /* 94 = unimplemented */
"fsync", /* 95 = fsync */
- "#96 (unimplemented setpriority)", /* 96 = unimplemented setpriority */
+ "setpriority", /* 96 = setpriority */
"#97 (unimplemented)", /* 97 = unimplemented */
"#98 (unimplemented)", /* 98 = unimplemented */
"#99 (unimplemented)", /* 99 = unimplemented */
- "#100 (unimplemented getpriority)", /* 100 = unimplemented getpriority */
+ "getpriority", /* 100 = getpriority */
"#101 (unimplemented)", /* 101 = unimplemented */
"#102 (unimplemented)", /* 102 = unimplemented */
"#103 (unimplemented lf_send)", /* 103 = unimplemented lf_send */
diff --git a/sys/compat/hpux/hppa/hpux_sysent.c b/sys/compat/hpux/hppa/hpux_sysent.c
index dde6f19cd0d..3218bef3528 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.5 2004/07/13 02:32:29 mickey Exp $ */
+/* $OpenBSD: hpux_sysent.c,v 1.6 2004/07/14 15:55:38 mickey Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.5 2004/07/13 02:32:11 mickey Exp
+ * created from OpenBSD: syscalls.master,v 1.6 2004/07/14 15:54:56 mickey Exp
*/
#include <sys/param.h>
@@ -217,16 +217,16 @@ struct sysent hpux_sysent[] = {
sys_nosys }, /* 94 = unimplemented */
{ 1, s(struct sys_fsync_args),
sys_fsync }, /* 95 = fsync */
- { 0, 0,
- sys_nosys }, /* 96 = unimplemented setpriority */
+ { 3, s(struct sys_setpriority_args),
+ sys_setpriority }, /* 96 = setpriority */
{ 0, 0,
sys_nosys }, /* 97 = unimplemented */
{ 0, 0,
sys_nosys }, /* 98 = unimplemented */
{ 0, 0,
sys_nosys }, /* 99 = unimplemented */
- { 0, 0,
- sys_nosys }, /* 100 = unimplemented getpriority */
+ { 2, s(struct sys_getpriority_args),
+ sys_getpriority }, /* 100 = getpriority */
{ 0, 0,
sys_nosys }, /* 101 = unimplemented */
{ 0, 0,