Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/hpux Regen.
details: https://anonhg.NetBSD.org/src/rev/0c6100a20571
branches: trunk
changeset: 475765:0c6100a20571
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Aug 25 04:51:06 1999 +0000
description:
Regen.
diffstat:
sys/compat/hpux/hpux_syscall.h | 30 ++++----
sys/compat/hpux/hpux_syscallargs.h | 72 +++++++++++++------
sys/compat/hpux/hpux_syscalls.c | 108 ++++++++++++++++-------------
sys/compat/hpux/hpux_sysent.c | 130 +++++++++++++++++++++---------------
4 files changed, 198 insertions(+), 142 deletions(-)
diffs (truncated from 702 to 300 lines):
diff -r 97cc24caa64e -r 0c6100a20571 sys/compat/hpux/hpux_syscall.h
--- a/sys/compat/hpux/hpux_syscall.h Wed Aug 25 04:50:53 1999 +0000
+++ b/sys/compat/hpux/hpux_syscall.h Wed Aug 25 04:51:06 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: hpux_syscall.h,v 1.24 1999/02/09 20:26:55 christos Exp $ */
+/* $NetBSD: hpux_syscall.h,v 1.25 1999/08/25 04:51:06 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.20 1999/02/09 20:21:18 christos Exp
+ * created from NetBSD: syscalls.master,v 1.21 1999/08/25 04:50:53 thorpej Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -301,8 +301,8 @@
/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
#define HPUX_SYS_semget 156
-/* syscall: "__semctl" ret: "int" args: "int" "int" "int" "union semun *" */
-#define HPUX_SYS___semctl 157
+/* syscall: "osemctl" ret: "int" args: "int" "int" "int" "union __semun" */
+#define HPUX_SYS_osemctl 157
/* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "u_int" */
#define HPUX_SYS_semop 158
@@ -310,8 +310,8 @@
/* syscall: "msgget" ret: "int" args: "key_t" "int" */
#define HPUX_SYS_msgget 159
-/* syscall: "msgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
-#define HPUX_SYS_msgctl 160
+/* syscall: "omsgctl" ret: "int" args: "int" "int" "struct hpux_omsqid_ds *" */
+#define HPUX_SYS_omsgctl 160
/* syscall: "msgsnd" ret: "int" args: "int" "void *" "size_t" "int" */
#define HPUX_SYS_msgsnd 161
@@ -322,8 +322,8 @@
/* syscall: "shmget" ret: "int" args: "key_t" "int" "int" */
#define HPUX_SYS_shmget 163
-/* syscall: "shmctl" ret: "int" args: "int" "int" "caddr_t" */
-#define HPUX_SYS_shmctl 164
+/* syscall: "oshmctl" ret: "int" args: "int" "int" "struct hpux_oshmid_ds *" */
+#define HPUX_SYS_oshmctl 164
/* syscall: "shmat" ret: "int" args: "int" "void *" "int" */
#define HPUX_SYS_shmat 165
@@ -430,13 +430,13 @@
/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
#define HPUX_SYS_socketpair 291
-/* syscall: "nsemctl" ret: "int" args: "int" "int" "int" "union semun *" */
-#define HPUX_SYS_nsemctl 312
+/* syscall: "semctl" ret: "int" args: "int" "int" "int" "union __semun" */
+#define HPUX_SYS_semctl 312
-/* syscall: "nmsgctl" ret: "int" args: "int" "int" "struct msqid_ds *" */
-#define HPUX_SYS_nmsgctl 313
+/* syscall: "msgctl" ret: "int" args: "int" "int" "struct hpux_msqid_ds *" */
+#define HPUX_SYS_msgctl 313
-/* syscall: "nshmctl" ret: "int" args: "int" "int" "caddr_t" */
-#define HPUX_SYS_nshmctl 314
+/* syscall: "shmctl" ret: "int" args: "int" "int" "struct hpux_shmid_ds *" */
+#define HPUX_SYS_shmctl 314
-#define HPUX_SYS_MAXSYSCALL 315
+#define HPUX_SYS_MAXSYSCALL 325
diff -r 97cc24caa64e -r 0c6100a20571 sys/compat/hpux/hpux_syscallargs.h
--- a/sys/compat/hpux/hpux_syscallargs.h Wed Aug 25 04:50:53 1999 +0000
+++ b/sys/compat/hpux/hpux_syscallargs.h Wed Aug 25 04:51:06 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: hpux_syscallargs.h,v 1.21 1999/02/09 20:26:55 christos Exp $ */
+/* $NetBSD: hpux_syscallargs.h,v 1.22 1999/08/25 04:51:06 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.20 1999/02/09 20:21:18 christos Exp
+ * created from NetBSD: syscalls.master,v 1.21 1999/08/25 04:50:53 thorpej Exp
*/
#ifndef _HPUX_SYS__SYSCALLARGS_H_
@@ -14,17 +14,17 @@
#undef syscallarg
#endif
-#define syscallarg(x) \
- union { \
- register_t pad; \
- struct { x datum; } le; \
- struct { \
- int8_t pad[ (sizeof (register_t) < sizeof (x)) \
- ? 0 \
- : sizeof (register_t) - sizeof (x)]; \
- x datum; \
- } be; \
- }
+#define syscallarg(x) \
+ union { \
+ register_t pad; \
+ struct { x datum; } le; \
+ struct { \
+ int8_t pad[ (sizeof (register_t) < sizeof (x)) \
+ ? 0 \
+ : sizeof (register_t) - sizeof (x)]; \
+ x datum; \
+ } be; \
+ }
struct hpux_sys_read_args {
syscallarg(int) fd;
@@ -332,10 +332,23 @@
syscallarg(long) size;
};
-struct hpux_sys_shmctl_args {
+struct hpux_sys_osemctl_args {
+ syscallarg(int) semid;
+ syscallarg(int) semnum;
+ syscallarg(int) cmd;
+ syscallarg(union __semun) arg;
+};
+
+struct hpux_sys_omsgctl_args {
+ syscallarg(int) msqid;
+ syscallarg(int) cmd;
+ syscallarg(struct hpux_omsqid_ds *) buf;
+};
+
+struct hpux_sys_oshmctl_args {
syscallarg(int) shmid;
syscallarg(int) cmd;
- syscallarg(caddr_t) buf;
+ syscallarg(struct hpux_oshmid_ds *) buf;
};
struct hpux_sys_advise_args {
@@ -391,10 +404,23 @@
syscallarg(int) valsize;
};
-struct hpux_sys_nshmctl_args {
+struct hpux_sys_semctl_args {
+ syscallarg(int) semid;
+ syscallarg(int) semnum;
+ syscallarg(int) cmd;
+ syscallarg(union __semun) arg;
+};
+
+struct hpux_sys_msgctl_args {
+ syscallarg(int) msqid;
+ syscallarg(int) cmd;
+ syscallarg(struct hpux_msqid_ds *) buf;
+};
+
+struct hpux_sys_shmctl_args {
syscallarg(int) shmid;
syscallarg(int) cmd;
- syscallarg(caddr_t) buf;
+ syscallarg(struct hpux_shmid_ds *) buf;
};
/*
@@ -503,20 +529,20 @@
int hpux_sys_lockf __P((struct proc *, void *, register_t *));
#ifdef SYSVSEM
int sys_semget __P((struct proc *, void *, register_t *));
-int sys___semctl __P((struct proc *, void *, register_t *));
+int hpux_sys_osemctl __P((struct proc *, void *, register_t *));
int sys_semop __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVMSG
int sys_msgget __P((struct proc *, void *, register_t *));
-int sys_msgctl __P((struct proc *, void *, register_t *));
+int hpux_sys_omsgctl __P((struct proc *, void *, register_t *));
int sys_msgsnd __P((struct proc *, void *, register_t *));
int sys_msgrcv __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVSHM
int sys_shmget __P((struct proc *, void *, register_t *));
-int hpux_sys_shmctl __P((struct proc *, void *, register_t *));
+int hpux_sys_oshmctl __P((struct proc *, void *, register_t *));
int sys_shmat __P((struct proc *, void *, register_t *));
int sys_shmdt __P((struct proc *, void *, register_t *));
#else
@@ -555,15 +581,15 @@
int sys_socket __P((struct proc *, void *, register_t *));
int sys_socketpair __P((struct proc *, void *, register_t *));
#ifdef SYSVSEM
-int sys___semctl __P((struct proc *, void *, register_t *));
+int hpux_sys_semctl __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVMSG
-int sys_msgctl __P((struct proc *, void *, register_t *));
+int hpux_sys_msgctl __P((struct proc *, void *, register_t *));
#else
#endif
#ifdef SYSVSHM
-int hpux_sys_nshmctl __P((struct proc *, void *, register_t *));
+int hpux_sys_shmctl __P((struct proc *, void *, register_t *));
#else
#endif
#endif /* _HPUX_SYS__SYSCALLARGS_H_ */
diff -r 97cc24caa64e -r 0c6100a20571 sys/compat/hpux/hpux_syscalls.c
--- a/sys/compat/hpux/hpux_syscalls.c Wed Aug 25 04:50:53 1999 +0000
+++ b/sys/compat/hpux/hpux_syscalls.c Wed Aug 25 04:51:06 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: hpux_syscalls.c,v 1.27 1999/02/09 20:26:55 christos Exp $ */
+/* $NetBSD: hpux_syscalls.c,v 1.28 1999/08/25 04:51:06 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.20 1999/02/09 20:21:18 christos Exp
+ * created from NetBSD: syscalls.master,v 1.21 1999/08/25 04:50:53 thorpej Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -185,27 +185,27 @@
"lockf", /* 155 = lockf */
#ifdef SYSVSEM
"semget", /* 156 = semget */
- "__semctl", /* 157 = __semctl */
+ "osemctl", /* 157 = osemctl */
"semop", /* 158 = semop */
#else
"#156 (unimplemented semget)", /* 156 = unimplemented semget */
- "#157 (unimplemented semctl)", /* 157 = unimplemented semctl */
+ "#157 (unimplemented osemctl)", /* 157 = unimplemented osemctl */
"#158 (unimplemented semop)", /* 158 = unimplemented semop */
#endif
#ifdef SYSVMSG
"msgget", /* 159 = msgget */
- "msgctl", /* 160 = msgctl */
+ "omsgctl", /* 160 = omsgctl */
"msgsnd", /* 161 = msgsnd */
"msgrcv", /* 162 = msgrcv */
#else
"#159 (unimplemented msgget)", /* 159 = unimplemented msgget */
- "#160 (unimplemented msgctl)", /* 160 = unimplemented msgctl */
+ "#160 (unimplemented omsgctl)", /* 160 = unimplemented omsgctl */
"#161 (unimplemented msgsnd)", /* 161 = unimplemented msgsnd */
"#162 (unimplemented msgrcv)", /* 162 = unimplemented msgrcv */
#endif
#ifdef SYSVSHM
"shmget", /* 163 = shmget */
- "shmctl", /* 164 = shmctl */
+ "oshmctl", /* 164 = oshmctl */
"shmat", /* 165 = shmat */
"shmdt", /* 166 = shmdt */
#else
@@ -218,21 +218,21 @@
"#168 (unimplemented nsp_init)", /* 168 = unimplemented nsp_init */
"#169 (unimplemented cluster)", /* 169 = unimplemented cluster */
"#170 (unimplemented mkrnod)", /* 170 = unimplemented mkrnod */
- "#171 (unimplemented)", /* 171 = unimplemented */
+ "#171 (unimplemented test)", /* 171 = unimplemented test */
"#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 */
+ "#185 (unimplemented Northrop special)", /* 185 = unimplemented Northrop special */
"#186 (unimplemented setacl)", /* 186 = unimplemented setacl */
"#187 (unimplemented fsetacl)", /* 187 = unimplemented fsetacl */
"#188 (unimplemented getacl)", /* 188 = unimplemented getacl */
@@ -271,7 +271,7 @@
"#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 */
@@ -280,9 +280,9 @@
"#230 (unimplemented nfs_fcntl)", /* 230 = unimplemented nfs_fcntl */
Home |
Main Index |
Thread Index |
Old Index