149567Sbostic /*- 2*65776Sbostic * Copyright (c) 1982, 1986 3*65776Sbostic * The Regents of the University of California. All rights reserved. 4*65776Sbostic * (c) UNIX System Laboratories, Inc. 5*65776Sbostic * All or some portions of this file are derived from material licensed 6*65776Sbostic * to the University of California by American Telephone and Telegraph 7*65776Sbostic * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8*65776Sbostic * the permission of UNIX System Laboratories, Inc. 934542Smarc * 1049567Sbostic * %sccs.include.redist.c% 1134542Smarc * 12*65776Sbostic * @(#)qdioctl.h 7.2 (Berkeley) 01/21/94 1349567Sbostic */ 1449567Sbostic 1549567Sbostic /* 1634542Smarc * derived from: qdioctl.h 1.1 (ULTRIX) 8/22/85 1734542Smarc */ 1834542Smarc /* 1933095Sbostic * QDSS IOCTL definitions 2033095Sbostic */ 2133095Sbostic 2233095Sbostic 2333095Sbostic /************************************************************************ 2433095Sbostic * * 2533095Sbostic * Copyright (c) 1985 by * 2633095Sbostic * Digital Equipment Corporation, Maynard, MA * 2733095Sbostic * All rights reserved. * 2833095Sbostic * * 2933095Sbostic * This software is furnished under a license and may be used and * 3033095Sbostic * copied only in accordance with the terms of such license and * 3133095Sbostic * with the inclusion of the above copyright notice. This * 3233095Sbostic * software or any other copies thereof may not be provided or * 3333095Sbostic * otherwise made available to any other person. No title to and * 3433095Sbostic * ownership of the software is hereby transferred. * 3533095Sbostic * * 3633095Sbostic * This software is derived from software received from the * 3733095Sbostic * University of California, Berkeley, and from Bell * 3833095Sbostic * Laboratories. Use, duplication, or disclosure is subject to * 3933095Sbostic * restrictions under license agreements with University of * 4033095Sbostic * California and with AT&T. * 4133095Sbostic * * 4233095Sbostic * The information in this software is subject to change without * 4333095Sbostic * notice and should not be construed as a commitment by Digital * 4433095Sbostic * Equipment Corporation. * 4533095Sbostic * * 4633095Sbostic * Digital assumes no responsibility for the use or reliability * 4733095Sbostic * of its software on equipment which is not supplied by Digital. * 4833095Sbostic * * 4933095Sbostic ************************************************************************/ 5033095Sbostic /*************************************************************************** 5134542Smarc * revision history: (belongs in sccs) 5233095Sbostic **************************************************************************** 5333095Sbostic * 5433095Sbostic * 22 oct 85 longo fixed QD_PRGTABRES cmd number to be 22 instead of 12 5533095Sbostic * 14 oct 85 longo added QD_KERN_LOOP and QD_KERN_UNLOOP 5633095Sbostic * 02 oct 85 longo added QD_MAPCOLOR and QD_UNMAPCOLOR 5733095Sbostic * 17 sep 85 longo made QD_MAPIOBUF a read/write command type 5833095Sbostic * 5933095Sbostic ***************************************************************************/ 6033095Sbostic 6133095Sbostic 6233095Sbostic #ifdef KERNEL 6345805Sbostic #include "sys/ioctl.h" 6433095Sbostic #else 6533095Sbostic #include <sys/ioctl.h> 6633095Sbostic #endif 6733095Sbostic 6833095Sbostic 6933096Sbostic #define QD_GETEVENT _IOR('g', 1, struct _vs_event) /* get oldest event */ 7033096Sbostic #define QD_WTCURSOR _IOW('g', 2, short[32]) /* write cursor bitmap */ 7133096Sbostic #define QD_RDCURSOR _IOR('g', 3, 64) /* read cursor bitmap */ 7233096Sbostic #define QD_CLRSCRN _IO('g', 4) /* clear the screen */ 7333096Sbostic #define QD_RDCONFIG _IOR('g', 5, short) /* read QDSS configuration */ 7433096Sbostic #define QD_PRGMOUSE _IOW('g', 6, char) /* program mouse */ 7533096Sbostic #define QD_PRGTABLET _IOW('g', 7, char) /* program tablet */ 7633096Sbostic #define QD_PRGKBD _IOW('g', 8, struct prgkbd) /* program LK201 kbd */ 7733096Sbostic #define QD_MAPDEVICE _IOR('g', 9, struct qdmap) /* map device to user */ 7833096Sbostic #define QD_MAPIOBUF _IOWR('g', 10, caddr_t) /* map DMA iobuf to user */ 7933096Sbostic #define QD_MAPEVENT _IOR('g', 11, caddr_t) /* map event queue to user */ 8033096Sbostic #define QD_PRGCURSOR _IOW('g', 12, struct prg_cursor) /* program cursor */ 8133096Sbostic #define QD_RESET _IO('g', 13) /* set device & driver defaults */ 8233096Sbostic #define QD_POSCURSOR _IOW('g', 14, struct _vs_cursor) /* position cursor */ 8333096Sbostic #define QD_SET _IO('g', 15) /* set DUART & driver defaults */ 8433096Sbostic #define QD_MAPSCROLL _IOR('g', 16, caddr_t) /* map scroll param area */ 8533096Sbostic #define QD_UNMAPSCROLL _IO('g', 17) /* unmap scroll param area */ 8633096Sbostic #define QD_MAPCOLOR _IOR('g', 18, caddr_t) /* map color map write buf */ 8733096Sbostic #define QD_UNMAPCOLOR _IO('g', 19) /* unmap color map write buf */ 8833096Sbostic #define QD_KERN_LOOP _IO('g', 20) /* detour kernel console output */ 8933096Sbostic #define QD_KERN_UNLOOP _IO('g', 21) /* un-detour kernel console output */ 9033096Sbostic #define QD_PRGTABRES _IOW('g', 22, short) /* program tablet resolution */ 91