diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-05 10:13:32 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-05 10:13:32 +0000 |
commit | bb88c7fab71ad8bbddb7c8a1c368092110494310 (patch) | |
tree | ed4ff55720fdf525ebfd838fb14086f9bc53d155 /sys | |
parent | 1853ec1bdb135555d58f6248f490bc10c23c08f0 (diff) |
Remove some includes for kernel interfaces that are no longer there.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/vadvise.h | 52 | ||||
-rw-r--r-- | sys/sys/vcmd.h | 46 | ||||
-rw-r--r-- | sys/sys/vlimit.h | 52 | ||||
-rw-r--r-- | sys/sys/vsio.h | 156 |
4 files changed, 0 insertions, 306 deletions
diff --git a/sys/sys/vadvise.h b/sys/sys/vadvise.h deleted file mode 100644 index cd7ce319771..00000000000 --- a/sys/sys/vadvise.h +++ /dev/null @@ -1,52 +0,0 @@ -/* $OpenBSD: vadvise.h,v 1.2 1996/03/03 12:12:44 niklas Exp $ */ -/* $NetBSD: vadvise.h,v 1.6 1994/06/29 06:46:12 cgd Exp $ */ - -/*- - * Copyright (c) 1982, 1986, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)vadvise.h 8.1 (Berkeley) 6/2/93 - */ - -/* - * Parameters to vadvise() to tell system of particular paging - * behaviour: - * VA_NORM Normal strategy - * VA_ANOM Sampling page behaviour is not a win, don't bother - * Suitable during GCs in LISP, or sequential or random - * page referencing. - * VA_SEQL Sequential behaviour expected. - * VA_FLUSH Invalidate all page table entries. - */ -#define VA_NORM 0 -#define VA_ANOM 1 -#define VA_SEQL 2 -#define VA_FLUSH 3 diff --git a/sys/sys/vcmd.h b/sys/sys/vcmd.h deleted file mode 100644 index 33bbe0e4fcb..00000000000 --- a/sys/sys/vcmd.h +++ /dev/null @@ -1,46 +0,0 @@ -/* $OpenBSD: vcmd.h,v 1.2 1996/03/03 12:12:45 niklas Exp $ */ -/* $NetBSD: vcmd.h,v 1.6 1994/06/29 06:46:14 cgd Exp $ */ - -/*- - * Copyright (c) 1982, 1986, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)vcmd.h 8.1 (Berkeley) 6/2/93 - */ - -#include <sys/ioctl.h> - -#define VPRINT 0100 -#define VPLOT 0200 -#define VPRINTPLOT 0400 - -#define VGETSTATE _IOR('v', 0, int) -#define VSETSTATE _IOW('v', 1, int) diff --git a/sys/sys/vlimit.h b/sys/sys/vlimit.h deleted file mode 100644 index 3b9ce3d7888..00000000000 --- a/sys/sys/vlimit.h +++ /dev/null @@ -1,52 +0,0 @@ -/* $OpenBSD: vlimit.h,v 1.2 1996/03/03 12:12:46 niklas Exp $ */ -/* $NetBSD: vlimit.h,v 1.6 1994/06/29 06:46:15 cgd Exp $ */ - -/*- - * Copyright (c) 1982, 1986, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)vlimit.h 8.1 (Berkeley) 6/2/93 - */ - -/* - * Limits for u.u_limit[i], per process, inherited. - */ -#define LIM_NORAISE 0 /* if <> 0, can't raise limits */ -#define LIM_CPU 1 /* max secs cpu time */ -#define LIM_FSIZE 2 /* max size of file created */ -#define LIM_DATA 3 /* max growth of data space */ -#define LIM_STACK 4 /* max growth of stack */ -#define LIM_CORE 5 /* max size of ``core'' file */ -#define LIM_MAXRSS 6 /* max desired data+stack core usage */ - -#define NLIMITS 6 - -#define INFINITY 0x7fffffff diff --git a/sys/sys/vsio.h b/sys/sys/vsio.h deleted file mode 100644 index 85d9d14b10c..00000000000 --- a/sys/sys/vsio.h +++ /dev/null @@ -1,156 +0,0 @@ -/* $OpenBSD: vsio.h,v 1.3 1996/04/21 22:32:19 deraadt Exp $ */ -/* $NetBSD: vsio.h,v 1.7 1996/04/09 20:55:50 cgd Exp $ */ - -/*- - * Copyright (c) 1987, 1993 - * The Regents of the University of California. All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)vsio.h 8.1 (Berkeley) 6/2/93 - */ - - /**************************************************************************** - * * - * Copyright (c) 1983, 1984 by * - * DIGITAL EQUIPMENT CORPORATION, Maynard, Massachusetts. * - * All rights reserved. * - * * - * This software is furnished on an as-is basis and may be used and copied * - * only with inclusion of the above copyright notice. This software or any * - * other copies thereof may be provided or otherwise made available to * - * others only for non-commercial purposes. No title to or ownership of * - * the software is hereby transferred. * - * * - * The information in this software is subject to change without notice * - * and should not be construed as a commitment by DIGITAL EQUIPMENT * - * CORPORATION. * - * * - * DIGITAL assumes no responsibility for the use or reliability of its * - * software on equipment which is not supplied by DIGITAL. * - * * - * * - ****************************************************************************/ -/* - * vsio.h - VS100 I/O command definitions - * - * Author: Christopher A. Kent - * Digital Equipment Corporation - * Western Research Lab - * Date: Tue Jun 21 1983 - */ - -/* - * Possible ioctl calls - */ - -#define VSIOINIT _IO('V', 0) /* init the device */ -#define VSIOSTART _IOW('V', 1, int) /* start microcode */ -#define VSIOABORT _IO('V', 2) /* abort a command chain */ -#define VSIOPWRUP _IO('V', 3) /* power-up reset */ -#define VSIOGETVER _IOR('V', 4, int) /* get rom version */ -#define VSIOSYNC _IO('V', 6) /* synch with device */ -#define VSIOBBACTL _IOW('V', 8, int) /* control the BBA */ -#define VSIOFIBCTL _IOW('V', 9, int) /* lamp on/off */ -#define VSIOFIBRETRY _IOW('V',10, int) /* fiber retries */ -#define VSIOGETSTATS _IOR('V',11, vsStats) /* get statistics */ -#define VSIOGETIOA _IOR('V',13, vsIoAddrAddr)/* get ioreg address */ -#define VSIOUSERWAIT _IO('V', 15) /* wait for user I/O completion */ -#define VSIOWAITGO _IOW('V', 16, caddr_t) /* wait then go */ - - -#define VSIO_OFF 0 /* option off */ -#define VSIO_ON 1 /* option on */ - -#define VS_FIB_FINITE 1 /* finite retries */ -#define VS_FIB_INFINITE 2 /* infinite retries */ - -/* - * Event queue entries - */ - -typedef struct _vs_event{ - u_short vse_x; /* x position */ - u_short vse_y; /* y position */ - u_short vse_time; /* 10 millisecond units (button only) */ - char vse_type; /* button or motion? */ - u_char vse_key; /* the key (button only) */ - char vse_direction; /* which direction (button only) */ - char vse_device; /* which device (button only) */ -}vsEvent; - -#define VSE_BUTTON 0 /* button moved */ -#define VSE_MMOTION 1 /* mouse moved */ -#define VSE_TMOTION 2 /* tablet moved */ - -#define VSE_KBTUP 0 /* up */ -#define VSE_KBTDOWN 1 /* down */ - -#define VSE_MOUSE 1 /* mouse */ -#define VSE_DKB 2 /* main keyboard */ -#define VSE_TABLET 3 /* graphics tablet */ -#define VSE_AUX 4 /* auxiliary */ -#define VSE_CONSOLE 5 /* console */ - -typedef struct _vsStats{ - int errors; /* count errors */ - int unsolIntr; /* count unsolicited interrupts */ - int overruns; /* event queue overruns */ - int flashes; /* flashes on fiber link */ - int ignites; /* times turned on */ - int douses; /* times turned off */ - int linkErrors; /* link errors */ -}vsStats; - -typedef struct _vs_cursor{ - short x; - short y; -}vsCursor; - -typedef struct _vs_box { - short bottom; - short right; - short left; - short top; -}vsBox; - -typedef struct _vsIoAddr { - short *ioreg; - short status; - caddr_t obuff; - int obufflen; - int reloc; - vsEvent *ibuff; - int iqsize; /* may assume power of 2 */ - int ihead; /* atomic write */ - int itail; /* atomic read */ - vsCursor mouse; /* atomic read/write */ - vsBox mbox; /* atomic read/write */ -} vsIoAddr; -typedef vsIoAddr *vsIoAddrAddr; |