1 2 /* 3 * QDSS IOCTL definitions 4 * @(#)qdioctl.h 1.2 (Berkeley) 12/22/87 5 */ 6 7 /* static char *sccsid = "@(#)qdioctl.h 1.1 (ULTRIX) 8/22/85"; */ 8 9 /************************************************************************ 10 * * 11 * Copyright (c) 1985 by * 12 * Digital Equipment Corporation, Maynard, MA * 13 * All rights reserved. * 14 * * 15 * This software is furnished under a license and may be used and * 16 * copied only in accordance with the terms of such license and * 17 * with the inclusion of the above copyright notice. This * 18 * software or any other copies thereof may not be provided or * 19 * otherwise made available to any other person. No title to and * 20 * ownership of the software is hereby transferred. * 21 * * 22 * This software is derived from software received from the * 23 * University of California, Berkeley, and from Bell * 24 * Laboratories. Use, duplication, or disclosure is subject to * 25 * restrictions under license agreements with University of * 26 * California and with AT&T. * 27 * * 28 * The information in this software is subject to change without * 29 * notice and should not be construed as a commitment by Digital * 30 * Equipment Corporation. * 31 * * 32 * Digital assumes no responsibility for the use or reliability * 33 * of its software on equipment which is not supplied by Digital. * 34 * * 35 ************************************************************************/ 36 /*************************************************************************** 37 * revision history: 38 **************************************************************************** 39 * 40 * 22 oct 85 longo fixed QD_PRGTABRES cmd number to be 22 instead of 12 41 * 14 oct 85 longo added QD_KERN_LOOP and QD_KERN_UNLOOP 42 * 02 oct 85 longo added QD_MAPCOLOR and QD_UNMAPCOLOR 43 * 17 sep 85 longo made QD_MAPIOBUF a read/write command type 44 * 45 ***************************************************************************/ 46 47 48 #ifdef KERNEL 49 #include "../h/ioctl.h" 50 #else 51 #include <sys/ioctl.h> 52 #endif 53 54 55 #define QD_GETEVENT _IOR('g', 1, struct _vs_event) /* get oldest event */ 56 #define QD_WTCURSOR _IOW('g', 2, short[32]) /* write cursor bitmap */ 57 #define QD_RDCURSOR _IOR('g', 3, 64) /* read cursor bitmap */ 58 #define QD_CLRSCRN _IO('g', 4) /* clear the screen */ 59 #define QD_RDCONFIG _IOR('g', 5, short) /* read QDSS configuration */ 60 #define QD_PRGMOUSE _IOW('g', 6, char) /* program mouse */ 61 #define QD_PRGTABLET _IOW('g', 7, char) /* program tablet */ 62 #define QD_PRGKBD _IOW('g', 8, struct prgkbd) /* program LK201 kbd */ 63 #define QD_MAPDEVICE _IOR('g', 9, struct qdmap) /* map device to user */ 64 #define QD_MAPIOBUF _IOWR('g', 10, caddr_t) /* map DMA iobuf to user */ 65 #define QD_MAPEVENT _IOR('g', 11, caddr_t) /* map event queue to user */ 66 #define QD_PRGCURSOR _IOW('g', 12, struct prg_cursor) /* program cursor */ 67 #define QD_RESET _IO('g', 13) /* set device & driver defaults */ 68 #define QD_POSCURSOR _IOW('g', 14, struct _vs_cursor) /* position cursor */ 69 #define QD_SET _IO('g', 15) /* set DUART & driver defaults */ 70 #define QD_MAPSCROLL _IOR('g', 16, caddr_t) /* map scroll param area */ 71 #define QD_UNMAPSCROLL _IO('g', 17) /* unmap scroll param area */ 72 #define QD_MAPCOLOR _IOR('g', 18, caddr_t) /* map color map write buf */ 73 #define QD_UNMAPCOLOR _IO('g', 19) /* unmap color map write buf */ 74 #define QD_KERN_LOOP _IO('g', 20) /* detour kernel console output */ 75 #define QD_KERN_UNLOOP _IO('g', 21) /* un-detour kernel console output */ 76 #define QD_PRGTABRES _IOW('g', 22, short) /* program tablet resolution */ 77