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