Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/osf1 regen
details: https://anonhg.NetBSD.org/src/rev/5c2686ecbed3
branches: trunk
changeset: 472655:5c2686ecbed3
user: cgd <cgd%NetBSD.org@localhost>
date: Tue May 04 05:00:21 1999 +0000
description:
regen
diffstat:
sys/compat/osf1/osf1_syscall.h | 16 ++++++++++++++--
sys/compat/osf1/osf1_syscallargs.h | 30 ++++++++++++++++++++++++++++--
sys/compat/osf1/osf1_syscalls.c | 13 +++++++------
sys/compat/osf1/osf1_sysent.c | 21 +++++++++++----------
4 files changed, 60 insertions(+), 20 deletions(-)
diffs (177 lines):
diff -r ed91bd9d09ee -r 5c2686ecbed3 sys/compat/osf1/osf1_syscall.h
--- a/sys/compat/osf1/osf1_syscall.h Tue May 04 04:59:21 1999 +0000
+++ b/sys/compat/osf1/osf1_syscall.h Tue May 04 05:00:21 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: osf1_syscall.h,v 1.30 1999/05/04 02:12:33 cgd Exp $ */
+/* $NetBSD: osf1_syscall.h,v 1.31 1999/05/04 05:00:21 cgd Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.24 1999/05/04 02:12:15 cgd Exp
+ * created from NetBSD: syscalls.master,v 1.25 1999/05/04 04:59:21 cgd Exp
*/
/* syscall: "syscall" ret: "int" args: */
@@ -340,6 +340,18 @@
/* syscall: "__posix_lchown" ret: "int" args: "const char *" "int" "int" */
#define OSF1_SYS___posix_lchown 208
+/* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
+#define OSF1_SYS_shmat 209
+
+/* syscall: "shmctl" ret: "int" args: "int" "int" "struct osf1_shmid_ds *" */
+#define OSF1_SYS_shmctl 210
+
+/* syscall: "shmdt" ret: "int" args: "const void *" */
+#define OSF1_SYS_shmdt 211
+
+/* syscall: "shmget" ret: "int" args: "osf1_key_t" "size_t" "int" */
+#define OSF1_SYS_shmget 212
+
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
#define OSF1_SYS_getsid 234
diff -r ed91bd9d09ee -r 5c2686ecbed3 sys/compat/osf1/osf1_syscallargs.h
--- a/sys/compat/osf1/osf1_syscallargs.h Tue May 04 04:59:21 1999 +0000
+++ b/sys/compat/osf1/osf1_syscallargs.h Tue May 04 05:00:21 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: osf1_syscallargs.h,v 1.30 1999/05/04 02:12:33 cgd Exp $ */
+/* $NetBSD: osf1_syscallargs.h,v 1.31 1999/05/04 05:00:21 cgd Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.24 1999/05/04 02:12:15 cgd Exp
+ * created from NetBSD: syscalls.master,v 1.25 1999/05/04 04:59:21 cgd Exp
*/
#ifndef _OSF1_SYS__SYSCALLARGS_H_
@@ -250,6 +250,28 @@
syscallarg(struct osf1_uname *) name;
};
+struct osf1_sys_shmat_args {
+ syscallarg(int) shmid;
+ syscallarg(const void *) shmaddr;
+ syscallarg(int) shmflg;
+};
+
+struct osf1_sys_shmctl_args {
+ syscallarg(int) shmid;
+ syscallarg(int) cmd;
+ syscallarg(struct osf1_shmid_ds *) buf;
+};
+
+struct osf1_sys_shmdt_args {
+ syscallarg(const void *) shmaddr;
+};
+
+struct osf1_sys_shmget_args {
+ syscallarg(osf1_key_t) key;
+ syscallarg(size_t) size;
+ syscallarg(int) flags;
+};
+
struct osf1_sys_sigaltstack_args {
syscallarg(struct osf1_sigaltstack *) nss;
syscallarg(struct osf1_sigaltstack *) oss;
@@ -398,6 +420,10 @@
int compat_09_sys_setdomainname __P((struct proc *, void *, register_t *));
int osf1_sys_uname __P((struct proc *, void *, register_t *));
int sys___posix_lchown __P((struct proc *, void *, register_t *));
+int osf1_sys_shmat __P((struct proc *, void *, register_t *));
+int osf1_sys_shmctl __P((struct proc *, void *, register_t *));
+int osf1_sys_shmdt __P((struct proc *, void *, register_t *));
+int osf1_sys_shmget __P((struct proc *, void *, register_t *));
int sys_getsid __P((struct proc *, void *, register_t *));
int osf1_sys_sigaltstack __P((struct proc *, void *, register_t *));
int osf1_sys_sysinfo __P((struct proc *, void *, register_t *));
diff -r ed91bd9d09ee -r 5c2686ecbed3 sys/compat/osf1/osf1_syscalls.c
--- a/sys/compat/osf1/osf1_syscalls.c Tue May 04 04:59:21 1999 +0000
+++ b/sys/compat/osf1/osf1_syscalls.c Tue May 04 05:00:21 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: osf1_syscalls.c,v 1.28 1999/05/04 02:12:33 cgd Exp $ */
+/* $NetBSD: osf1_syscalls.c,v 1.29 1999/05/04 05:00:21 cgd Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.24 1999/05/04 02:12:15 cgd Exp
+ * created from NetBSD: syscalls.master,v 1.25 1999/05/04 04:59:21 cgd Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -15,6 +15,7 @@
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/syscallargs.h>
+#include <compat/osf1/osf1.h>
#include <compat/osf1/osf1_syscallargs.h>
#endif /* _KERNEL && ! _LKM */
@@ -228,10 +229,10 @@
"#206 (unimplemented semop)", /* 206 = unimplemented semop */
"uname", /* 207 = uname */
"__posix_lchown", /* 208 = __posix_lchown */
- "#209 (unimplemented shmat)", /* 209 = unimplemented shmat */
- "#210 (unimplemented shmctl)", /* 210 = unimplemented shmctl */
- "#211 (unimplemented shmdt)", /* 211 = unimplemented shmdt */
- "#212 (unimplemented shmget)", /* 212 = unimplemented shmget */
+ "shmat", /* 209 = shmat */
+ "shmctl", /* 210 = shmctl */
+ "shmdt", /* 211 = shmdt */
+ "shmget", /* 212 = shmget */
"#213 (unimplemented mvalid)", /* 213 = unimplemented mvalid */
"#214 (unimplemented getaddressconf)", /* 214 = unimplemented getaddressconf */
"#215 (unimplemented msleep)", /* 215 = unimplemented msleep */
diff -r ed91bd9d09ee -r 5c2686ecbed3 sys/compat/osf1/osf1_sysent.c
--- a/sys/compat/osf1/osf1_sysent.c Tue May 04 04:59:21 1999 +0000
+++ b/sys/compat/osf1/osf1_sysent.c Tue May 04 05:00:21 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: osf1_sysent.c,v 1.30 1999/05/04 02:12:33 cgd Exp $ */
+/* $NetBSD: osf1_sysent.c,v 1.31 1999/05/04 05:00:22 cgd Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.24 1999/05/04 02:12:15 cgd Exp
+ * created from NetBSD: syscalls.master,v 1.25 1999/05/04 04:59:21 cgd Exp
*/
#include "opt_compat_43.h"
@@ -14,6 +14,7 @@
#include <sys/mount.h>
#include <sys/poll.h>
#include <sys/syscallargs.h>
+#include <compat/osf1/osf1.h>
#include <compat/osf1/osf1_syscallargs.h>
#define s(type) sizeof(type)
@@ -437,14 +438,14 @@
osf1_sys_uname }, /* 207 = uname */
{ 3, s(struct sys___posix_lchown_args),
sys___posix_lchown }, /* 208 = __posix_lchown */
- { 0, 0,
- sys_nosys }, /* 209 = unimplemented shmat */
- { 0, 0,
- sys_nosys }, /* 210 = unimplemented shmctl */
- { 0, 0,
- sys_nosys }, /* 211 = unimplemented shmdt */
- { 0, 0,
- sys_nosys }, /* 212 = unimplemented shmget */
+ { 3, s(struct osf1_sys_shmat_args),
+ osf1_sys_shmat }, /* 209 = shmat */
+ { 3, s(struct osf1_sys_shmctl_args),
+ osf1_sys_shmctl }, /* 210 = shmctl */
+ { 1, s(struct osf1_sys_shmdt_args),
+ osf1_sys_shmdt }, /* 211 = shmdt */
+ { 3, s(struct osf1_sys_shmget_args),
+ osf1_sys_shmget }, /* 212 = shmget */
{ 0, 0,
sys_nosys }, /* 213 = unimplemented mvalid */
{ 0, 0,
Home |
Main Index |
Thread Index |
Old Index