summaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/bsdos/bsdos_syscall.h17
-rw-r--r--sys/compat/bsdos/bsdos_syscallargs.h24
-rw-r--r--sys/compat/bsdos/bsdos_syscalls.c46
-rw-r--r--sys/compat/bsdos/bsdos_sysent.c81
4 files changed, 160 insertions, 8 deletions
diff --git a/sys/compat/bsdos/bsdos_syscall.h b/sys/compat/bsdos/bsdos_syscall.h
index 2965eaf4e32..a0f4c5ea368 100644
--- a/sys/compat/bsdos/bsdos_syscall.h
+++ b/sys/compat/bsdos/bsdos_syscall.h
@@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.1 1997/09/02 08:51:16 downsj Exp
+ * created from OpenBSD: syscalls.master,v 1.2 1997/09/03 13:20:55 downsj Exp
*/
#define BSDOS_SYS_syscall 0
@@ -184,4 +184,17 @@
#define BSDOS_SYS___sysctl 202
#define BSDOS_SYS_mlock 203
#define BSDOS_SYS_munlock 204
-#define BSDOS_SYS_MAXSYSCALL 211
+#define BSDOS_SYS_undelete 205
+#define BSDOS_SYS___semctl 220
+#define BSDOS_SYS_semget 221
+#define BSDOS_SYS_semop 222
+#define BSDOS_SYS_semconfig 223
+#define BSDOS_SYS_msgctl 224
+#define BSDOS_SYS_msgget 225
+#define BSDOS_SYS_msgsnd 226
+#define BSDOS_SYS_msgrcv 227
+#define BSDOS_SYS_shmat 228
+#define BSDOS_SYS_shmctl 229
+#define BSDOS_SYS_shmdt 230
+#define BSDOS_SYS_shmget 231
+#define BSDOS_SYS_MAXSYSCALL 232
diff --git a/sys/compat/bsdos/bsdos_syscallargs.h b/sys/compat/bsdos/bsdos_syscallargs.h
index fdd67e5fd2e..3fe2badd5b6 100644
--- a/sys/compat/bsdos/bsdos_syscallargs.h
+++ b/sys/compat/bsdos/bsdos_syscallargs.h
@@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.1 1997/09/02 08:51:16 downsj Exp
+ * created from OpenBSD: syscalls.master,v 1.2 1997/09/03 13:20:55 downsj Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@@ -199,3 +199,25 @@ int sys_ftruncate __P((struct proc *, void *, register_t *));
int sys___sysctl __P((struct proc *, void *, register_t *));
int sys_mlock __P((struct proc *, void *, register_t *));
int sys_munlock __P((struct proc *, void *, register_t *));
+int sys_undelete __P((struct proc *, void *, register_t *));
+#ifdef SYSVSEM
+int sys___semctl __P((struct proc *, void *, register_t *));
+int sys_semget __P((struct proc *, void *, register_t *));
+int sys_semop __P((struct proc *, void *, register_t *));
+int sys_semconfig __P((struct proc *, void *, register_t *));
+#else
+#endif
+#ifdef SYSVMSG
+int sys_msgctl __P((struct proc *, void *, register_t *));
+int sys_msgget __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_shmat __P((struct proc *, void *, register_t *));
+int sys_shmctl __P((struct proc *, void *, register_t *));
+int sys_shmdt __P((struct proc *, void *, register_t *));
+int sys_shmget __P((struct proc *, void *, register_t *));
+#else
+#endif
diff --git a/sys/compat/bsdos/bsdos_syscalls.c b/sys/compat/bsdos/bsdos_syscalls.c
index f391cddc519..69352fb47f8 100644
--- a/sys/compat/bsdos/bsdos_syscalls.c
+++ b/sys/compat/bsdos/bsdos_syscalls.c
@@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.1 1997/09/02 08:51:16 downsj Exp
+ * created from OpenBSD: syscalls.master,v 1.2 1997/09/03 13:20:55 downsj Exp
*/
char *bsdos_syscallnames[] = {
@@ -238,10 +238,52 @@ char *bsdos_syscallnames[] = {
"__sysctl", /* 202 = __sysctl */
"mlock", /* 203 = mlock */
"munlock", /* 204 = munlock */
- "#205 (unimplemented)", /* 205 = unimplemented */
+ "undelete", /* 205 = undelete */
"#206 (unimplemented)", /* 206 = unimplemented */
"#207 (unimplemented)", /* 207 = unimplemented */
"#208 (unimplemented)", /* 208 = unimplemented */
"#209 (unimplemented)", /* 209 = unimplemented */
"#210 (unimplemented)", /* 210 = unimplemented */
+ "#211 (unimplemented)", /* 211 = unimplemented */
+ "#212 (unimplemented)", /* 212 = unimplemented */
+ "#213 (unimplemented)", /* 213 = unimplemented */
+ "#214 (unimplemented)", /* 214 = unimplemented */
+ "#215 (unimplemented)", /* 215 = unimplemented */
+ "#216 (unimplemented)", /* 216 = unimplemented */
+ "#217 (unimplemented)", /* 217 = unimplemented */
+ "#218 (unimplemented)", /* 218 = unimplemented */
+ "#219 (unimplemented)", /* 219 = unimplemented */
+#ifdef SYSVSEM
+ "__semctl", /* 220 = __semctl */
+ "semget", /* 221 = semget */
+ "semop", /* 222 = semop */
+ "semconfig", /* 223 = semconfig */
+#else
+ "#220 (unimplemented semctl)", /* 220 = unimplemented semctl */
+ "#221 (unimplemented semget)", /* 221 = unimplemented semget */
+ "#222 (unimplemented semop)", /* 222 = unimplemented semop */
+ "#223 (unimplemented semconfig)", /* 223 = unimplemented semconfig */
+#endif
+#ifdef SYSVMSG
+ "msgctl", /* 224 = msgctl */
+ "msgget", /* 225 = msgget */
+ "msgsnd", /* 226 = msgsnd */
+ "msgrcv", /* 227 = msgrcv */
+#else
+ "#224 (unimplemented msgctl)", /* 224 = unimplemented msgctl */
+ "#225 (unimplemented msgget)", /* 225 = unimplemented msgget */
+ "#226 (unimplemented msgsnd)", /* 226 = unimplemented msgsnd */
+ "#227 (unimplemented msgrcv)", /* 227 = unimplemented msgrcv */
+#endif
+#ifdef SYSVSHM
+ "shmat", /* 228 = shmat */
+ "shmctl", /* 229 = shmctl */
+ "shmdt", /* 230 = shmdt */
+ "shmget", /* 231 = shmget */
+#else
+ "#228 (unimplemented shmat)", /* 228 = unimplemented shmat */
+ "#229 (unimplemented shmctl)", /* 229 = unimplemented shmctl */
+ "#230 (unimplemented shmdt)", /* 230 = unimplemented shmdt */
+ "#231 (unimplemented shmget)", /* 231 = unimplemented shmget */
+#endif
};
diff --git a/sys/compat/bsdos/bsdos_sysent.c b/sys/compat/bsdos/bsdos_sysent.c
index d346b5883f0..73d941eeea3 100644
--- a/sys/compat/bsdos/bsdos_sysent.c
+++ b/sys/compat/bsdos/bsdos_sysent.c
@@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from OpenBSD: syscalls.master,v 1.1 1997/09/02 08:51:16 downsj Exp
+ * created from OpenBSD: syscalls.master,v 1.2 1997/09/03 13:20:55 downsj Exp
*/
#include <sys/param.h>
@@ -461,8 +461,8 @@ struct sysent bsdos_sysent[] = {
sys_mlock }, /* 203 = mlock */
{ 2, s(struct sys_munlock_args),
sys_munlock }, /* 204 = munlock */
- { 0, 0,
- sys_nosys }, /* 205 = unimplemented */
+ { 1, s(struct sys_undelete_args),
+ sys_undelete }, /* 205 = undelete */
{ 0, 0,
sys_nosys }, /* 206 = unimplemented */
{ 0, 0,
@@ -473,5 +473,80 @@ struct sysent bsdos_sysent[] = {
sys_nosys }, /* 209 = unimplemented */
{ 0, 0,
sys_nosys }, /* 210 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 211 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 212 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 213 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 214 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 215 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 216 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 217 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 218 = unimplemented */
+ { 0, 0,
+ sys_nosys }, /* 219 = unimplemented */
+#ifdef SYSVSEM
+ { 4, s(struct sys___semctl_args),
+ sys___semctl }, /* 220 = __semctl */
+ { 3, s(struct sys_semget_args),
+ sys_semget }, /* 221 = semget */
+ { 3, s(struct sys_semop_args),
+ sys_semop }, /* 222 = semop */
+ { 1, s(struct sys_semconfig_args),
+ sys_semconfig }, /* 223 = semconfig */
+#else
+ { 0, 0,
+ sys_nosys }, /* 220 = unimplemented semctl */
+ { 0, 0,
+ sys_nosys }, /* 221 = unimplemented semget */
+ { 0, 0,
+ sys_nosys }, /* 222 = unimplemented semop */
+ { 0, 0,
+ sys_nosys }, /* 223 = unimplemented semconfig */
+#endif
+#ifdef SYSVMSG
+ { 3, s(struct sys_msgctl_args),
+ sys_msgctl }, /* 224 = msgctl */
+ { 2, s(struct sys_msgget_args),
+ sys_msgget }, /* 225 = msgget */
+ { 4, s(struct sys_msgsnd_args),
+ sys_msgsnd }, /* 226 = msgsnd */
+ { 5, s(struct sys_msgrcv_args),
+ sys_msgrcv }, /* 227 = msgrcv */
+#else
+ { 0, 0,
+ sys_nosys }, /* 224 = unimplemented msgctl */
+ { 0, 0,
+ sys_nosys }, /* 225 = unimplemented msgget */
+ { 0, 0,
+ sys_nosys }, /* 226 = unimplemented msgsnd */
+ { 0, 0,
+ sys_nosys }, /* 227 = unimplemented msgrcv */
+#endif
+#ifdef SYSVSHM
+ { 3, s(struct sys_shmat_args),
+ sys_shmat }, /* 228 = shmat */
+ { 3, s(struct sys_shmctl_args),
+ sys_shmctl }, /* 229 = shmctl */
+ { 1, s(struct sys_shmdt_args),
+ sys_shmdt }, /* 230 = shmdt */
+ { 3, s(struct sys_shmget_args),
+ sys_shmget }, /* 231 = shmget */
+#else
+ { 0, 0,
+ sys_nosys }, /* 228 = unimplemented shmat */
+ { 0, 0,
+ sys_nosys }, /* 229 = unimplemented shmctl */
+ { 0, 0,
+ sys_nosys }, /* 230 = unimplemented shmdt */
+ { 0, 0,
+ sys_nosys }, /* 231 = unimplemented shmget */
+#endif
};