133095Sbostic /* 234542Smarc * Copyright (c) 1982, 1986 Regents of the University of California. 334542Smarc * All rights reserved. The Berkeley software License Agreement 434542Smarc * specifies the terms and conditions for redistribution. 534542Smarc * 6*45805Sbostic * @(#)qdioctl.h 1.5 Berkeley 12/16/90 734542Smarc * 834542Smarc * derived from: qdioctl.h 1.1 (ULTRIX) 8/22/85 934542Smarc */ 1034542Smarc /* 1133095Sbostic * QDSS IOCTL definitions 1233095Sbostic */ 1333095Sbostic 1433095Sbostic 1533095Sbostic /************************************************************************ 1633095Sbostic * * 1733095Sbostic * Copyright (c) 1985 by * 1833095Sbostic * Digital Equipment Corporation, Maynard, MA * 1933095Sbostic * All rights reserved. * 2033095Sbostic * * 2133095Sbostic * This software is furnished under a license and may be used and * 2233095Sbostic * copied only in accordance with the terms of such license and * 2333095Sbostic * with the inclusion of the above copyright notice. This * 2433095Sbostic * software or any other copies thereof may not be provided or * 2533095Sbostic * otherwise made available to any other person. No title to and * 2633095Sbostic * ownership of the software is hereby transferred. * 2733095Sbostic * * 2833095Sbostic * This software is derived from software received from the * 2933095Sbostic * University of California, Berkeley, and from Bell * 3033095Sbostic * Laboratories. Use, duplication, or disclosure is subject to * 3133095Sbostic * restrictions under license agreements with University of * 3233095Sbostic * California and with AT&T. * 3333095Sbostic * * 3433095Sbostic * The information in this software is subject to change without * 3533095Sbostic * notice and should not be construed as a commitment by Digital * 3633095Sbostic * Equipment Corporation. * 3733095Sbostic * * 3833095Sbostic * Digital assumes no responsibility for the use or reliability * 3933095Sbostic * of its software on equipment which is not supplied by Digital. * 4033095Sbostic * * 4133095Sbostic ************************************************************************/ 4233095Sbostic /*************************************************************************** 4334542Smarc * revision history: (belongs in sccs) 4433095Sbostic **************************************************************************** 4533095Sbostic * 4633095Sbostic * 22 oct 85 longo fixed QD_PRGTABRES cmd number to be 22 instead of 12 4733095Sbostic * 14 oct 85 longo added QD_KERN_LOOP and QD_KERN_UNLOOP 4833095Sbostic * 02 oct 85 longo added QD_MAPCOLOR and QD_UNMAPCOLOR 4933095Sbostic * 17 sep 85 longo made QD_MAPIOBUF a read/write command type 5033095Sbostic * 5133095Sbostic ***************************************************************************/ 5233095Sbostic 5333095Sbostic 5433095Sbostic #ifdef KERNEL 55*45805Sbostic #include "sys/ioctl.h" 5633095Sbostic #else 5733095Sbostic #include <sys/ioctl.h> 5833095Sbostic #endif 5933095Sbostic 6033095Sbostic 6133096Sbostic #define QD_GETEVENT _IOR('g', 1, struct _vs_event) /* get oldest event */ 6233096Sbostic #define QD_WTCURSOR _IOW('g', 2, short[32]) /* write cursor bitmap */ 6333096Sbostic #define QD_RDCURSOR _IOR('g', 3, 64) /* read cursor bitmap */ 6433096Sbostic #define QD_CLRSCRN _IO('g', 4) /* clear the screen */ 6533096Sbostic #define QD_RDCONFIG _IOR('g', 5, short) /* read QDSS configuration */ 6633096Sbostic #define QD_PRGMOUSE _IOW('g', 6, char) /* program mouse */ 6733096Sbostic #define QD_PRGTABLET _IOW('g', 7, char) /* program tablet */ 6833096Sbostic #define QD_PRGKBD _IOW('g', 8, struct prgkbd) /* program LK201 kbd */ 6933096Sbostic #define QD_MAPDEVICE _IOR('g', 9, struct qdmap) /* map device to user */ 7033096Sbostic #define QD_MAPIOBUF _IOWR('g', 10, caddr_t) /* map DMA iobuf to user */ 7133096Sbostic #define QD_MAPEVENT _IOR('g', 11, caddr_t) /* map event queue to user */ 7233096Sbostic #define QD_PRGCURSOR _IOW('g', 12, struct prg_cursor) /* program cursor */ 7333096Sbostic #define QD_RESET _IO('g', 13) /* set device & driver defaults */ 7433096Sbostic #define QD_POSCURSOR _IOW('g', 14, struct _vs_cursor) /* position cursor */ 7533096Sbostic #define QD_SET _IO('g', 15) /* set DUART & driver defaults */ 7633096Sbostic #define QD_MAPSCROLL _IOR('g', 16, caddr_t) /* map scroll param area */ 7733096Sbostic #define QD_UNMAPSCROLL _IO('g', 17) /* unmap scroll param area */ 7833096Sbostic #define QD_MAPCOLOR _IOR('g', 18, caddr_t) /* map color map write buf */ 7933096Sbostic #define QD_UNMAPCOLOR _IO('g', 19) /* unmap color map write buf */ 8033096Sbostic #define QD_KERN_LOOP _IO('g', 20) /* detour kernel console output */ 8133096Sbostic #define QD_KERN_UNLOOP _IO('g', 21) /* un-detour kernel console output */ 8233096Sbostic #define QD_PRGTABRES _IOW('g', 22, short) /* program tablet resolution */ 83