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