From: deraadt Date: Mon, 8 Jan 1996 19:31:06 +0000 (+0000) Subject: from netbsd; Correct name of sysi86 function X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a7d248fd15652389f56359355ec357ab7845b72c;p=openbsd from netbsd; Correct name of sysi86 function --- diff --git a/sys/compat/ibcs2/ibcs2_misc.c b/sys/compat/ibcs2/ibcs2_misc.c index 0f667f9c4be..6641a436463 100644 --- a/sys/compat/ibcs2/ibcs2_misc.c +++ b/sys/compat/ibcs2/ibcs2_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: ibcs2_misc.c,v 1.13 1996/01/06 03:23:49 scottb Exp $ */ +/* $NetBSD: ibcs2_misc.c,v 1.14 1996/01/07 06:11:13 mycroft Exp $ */ /* * Copyright (c) 1994, 1995 Scott Bartram @@ -1399,12 +1399,12 @@ ibcs2_sys_readlink(p, v, retval) } int -ibcs2_sysi86(p, v, retval) +ibcs2_sys_sysi86(p, v, retval) struct proc *p; void *v; register_t *retval; { - struct ibcs2_sysi86_args /* { + struct ibcs2_sys_sysi86_args /* { syscallarg(int) cmd; syscallarg(int) arg; } */ *uap = v; diff --git a/sys/compat/ibcs2/ibcs2_syscall.h b/sys/compat/ibcs2/ibcs2_syscall.h index 314cfa6eb8d..6b6bdf0ccd2 100644 --- a/sys/compat/ibcs2/ibcs2_syscall.h +++ b/sys/compat/ibcs2/ibcs2_syscall.h @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.6 1995/10/07 06:26:56 mycroft Exp + * created from NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp */ #define IBCS2_SYS_syscall 0 @@ -50,7 +50,7 @@ #define IBCS2_SYS_getgid 47 #define IBCS2_SYS_sigsys 48 #define IBCS2_SYS_msgsys 49 -#define IBCS2_SYS_ibcs2_sysi86 50 +#define IBCS2_SYS_sysi86 50 #define IBCS2_SYS_shmsys 52 #define IBCS2_SYS_semsys 53 #define IBCS2_SYS_ioctl 54 diff --git a/sys/compat/ibcs2/ibcs2_syscallargs.h b/sys/compat/ibcs2/ibcs2_syscallargs.h index e9dbc371633..b82aa343256 100644 --- a/sys/compat/ibcs2/ibcs2_syscallargs.h +++ b/sys/compat/ibcs2/ibcs2_syscallargs.h @@ -2,7 +2,7 @@ * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.6 1995/10/07 06:26:56 mycroft Exp + * created from NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp */ #define syscallarg(x) union { x datum; register_t pad; } @@ -165,7 +165,7 @@ struct ibcs2_sys_msgsys_args { syscallarg(int) a6; }; -struct ibcs2_sysi86_args { +struct ibcs2_sys_sysi86_args { syscallarg(int) cmd; syscallarg(int) arg; }; @@ -400,7 +400,7 @@ int ibcs2_sys_sigsys __P((struct proc *, void *, register_t *)); int ibcs2_sys_msgsys __P((struct proc *, void *, register_t *)); #else #endif -int ibcs2_sysi86 __P((struct proc *, void *, register_t *)); +int ibcs2_sys_sysi86 __P((struct proc *, void *, register_t *)); #ifdef SYSVSHM int ibcs2_sys_shmsys __P((struct proc *, void *, register_t *)); #else diff --git a/sys/compat/ibcs2/ibcs2_syscalls.c b/sys/compat/ibcs2/ibcs2_syscalls.c index eb74dea8987..35de582e26a 100644 --- a/sys/compat/ibcs2/ibcs2_syscalls.c +++ b/sys/compat/ibcs2/ibcs2_syscalls.c @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.6 1995/10/07 06:26:56 mycroft Exp + * created from NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp */ char *ibcs2_syscallnames[] = { @@ -60,7 +60,7 @@ char *ibcs2_syscallnames[] = { #else "#49 (unimplemented msgsys)", /* 49 = unimplemented msgsys */ #endif - "ibcs2_sysi86", /* 50 = ibcs2_sysi86 */ + "sysi86", /* 50 = sysi86 */ "#51 (unimplemented ibcs2_acct)", /* 51 = unimplemented ibcs2_acct */ #ifdef SYSVSHM "shmsys", /* 52 = shmsys */ diff --git a/sys/compat/ibcs2/ibcs2_sysent.c b/sys/compat/ibcs2/ibcs2_sysent.c index e03c3e1838b..80bf5d422e5 100644 --- a/sys/compat/ibcs2/ibcs2_sysent.c +++ b/sys/compat/ibcs2/ibcs2_sysent.c @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.6 1995/10/07 06:26:56 mycroft Exp + * created from NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp */ #include @@ -141,8 +141,8 @@ struct sysent ibcs2_sysent[] = { { 0, 0, sys_nosys }, /* 49 = unimplemented msgsys */ #endif - { 2, s(struct ibcs2_sysi86_args), - ibcs2_sysi86 }, /* 50 = ibcs2_sysi86 */ + { 2, s(struct ibcs2_sys_sysi86_args), + ibcs2_sys_sysi86 }, /* 50 = sysi86 */ { 0, 0, sys_nosys }, /* 51 = unimplemented ibcs2_acct */ #ifdef SYSVSHM diff --git a/sys/compat/ibcs2/syscalls.master b/sys/compat/ibcs2/syscalls.master index 32ff059aa64..455ef4affb2 100644 --- a/sys/compat/ibcs2/syscalls.master +++ b/sys/compat/ibcs2/syscalls.master @@ -1,4 +1,4 @@ - $NetBSD: syscalls.master,v 1.7 1996/01/06 03:23:55 scottb Exp $ + $NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp $ ; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 @@ -103,7 +103,7 @@ #else 49 UNIMPL msgsys #endif -50 STD { int ibcs2_sysi86(int cmd, int arg); } +50 STD { int ibcs2_sys_sysi86(int cmd, int arg); } 51 UNIMPL ibcs2_acct #ifdef SYSVSHM 52 STD { int ibcs2_sys_shmsys(int which, int a2, int a3, \