PageRenderTime 45ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/sys/arch/vax/qbus/qdioctl.h

https://bitbucket.org/kmv/aeriebsd-src
C Header | 108 lines | 23 code | 7 blank | 78 comment | 0 complexity | b55f18040b0467b8f1fbde59ee0252f7 MD5 | raw file
  1. /*-
  2. * Copyright (c) 1982, 1986
  3. * The Regents of the University of California. All rights reserved.
  4. * (c) UNIX System Laboratories, Inc.
  5. * All or some portions of this file are derived from material licensed
  6. * to the University of California by American Telephone and Telegraph
  7. * Co. or Unix System Laboratories, Inc. and are reproduced herein with
  8. * the permission of UNIX System Laboratories, Inc.
  9. *
  10. * Redistribution and use in source and binary forms, with or without
  11. * modification, are permitted provided that the following conditions
  12. * are met:
  13. * 1. Redistributions of source code must retain the above copyright
  14. * notice, this list of conditions and the following disclaimer.
  15. * 2. Redistributions in binary form must reproduce the above copyright
  16. * notice, this list of conditions and the following disclaimer in the
  17. * documentation and/or other materials provided with the distribution.
  18. * 3. Neither the name of the University nor the names of its contributors
  19. * may be used to endorse or promote products derived from this software
  20. * without specific prior written permission.
  21. *
  22. * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  23. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  24. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  25. * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  26. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  27. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  28. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  29. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  30. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  31. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  32. * SUCH DAMAGE.
  33. *
  34. * @(#)qdioctl.h 7.2 (Berkeley) 1/21/94
  35. */
  36. /*
  37. * derived from: qdioctl.h 1.1 (ULTRIX) 8/22/85
  38. */
  39. /*
  40. * QDSS IOCTL definitions
  41. */
  42. /************************************************************************
  43. * *
  44. * Copyright (c) 1985 by *
  45. * Digital Equipment Corporation, Maynard, MA *
  46. * All rights reserved. *
  47. * *
  48. * This software is furnished under a license and may be used and *
  49. * copied only in accordance with the terms of such license and *
  50. * with the inclusion of the above copyright notice. This *
  51. * software or any other copies thereof may not be provided or *
  52. * otherwise made available to any other person. No title to and *
  53. * ownership of the software is hereby transferred. *
  54. * *
  55. * This software is derived from software received from the *
  56. * University of California, Berkeley, and from Bell *
  57. * Laboratories. Use, duplication, or disclosure is subject to *
  58. * restrictions under license agreements with University of *
  59. * California and with AT&T. *
  60. * *
  61. * The information in this software is subject to change without *
  62. * notice and should not be construed as a commitment by Digital *
  63. * Equipment Corporation. *
  64. * *
  65. * Digital assumes no responsibility for the use or reliability *
  66. * of its software on equipment which is not supplied by Digital. *
  67. * *
  68. ************************************************************************/
  69. /***************************************************************************
  70. * revision history: (belongs in sccs)
  71. ****************************************************************************
  72. *
  73. * 22 oct 85 longo fixed QD_PRGTABRES cmd number to be 22 instead of 12
  74. * 14 oct 85 longo added QD_KERN_LOOP and QD_KERN_UNLOOP
  75. * 02 oct 85 longo added QD_MAPCOLOR and QD_UNMAPCOLOR
  76. * 17 sep 85 longo made QD_MAPIOBUF a read/write command type
  77. *
  78. ***************************************************************************/
  79. #include <sys/ioctl.h>
  80. #define QD_GETEVENT _IOR('g', 1, struct _vs_event) /* get oldest event */
  81. #define QD_WTCURSOR _IOW('g', 2, short[32]) /* write cursor bitmap */
  82. #define QD_RDCURSOR _IOR('g', 3, 64) /* read cursor bitmap */
  83. #define QD_CLRSCRN _IO('g', 4) /* clear the screen */
  84. #define QD_RDCONFIG _IOR('g', 5, short) /* read QDSS configuration */
  85. #define QD_PRGMOUSE _IOW('g', 6, char) /* program mouse */
  86. #define QD_PRGTABLET _IOW('g', 7, char) /* program tablet */
  87. #define QD_PRGKBD _IOW('g', 8, struct prgkbd) /* program LK201 kbd */
  88. #define QD_MAPDEVICE _IOR('g', 9, struct qdmap) /* map device to user */
  89. #define QD_MAPIOBUF _IOWR('g', 10, caddr_t) /* map DMA iobuf to user */
  90. #define QD_MAPEVENT _IOR('g', 11, caddr_t) /* map event queue to user */
  91. #define QD_PRGCURSOR _IOW('g', 12, struct prg_cursor) /* program cursor */
  92. #define QD_RESET _IO('g', 13) /* set device & driver defaults */
  93. #define QD_POSCURSOR _IOW('g', 14, struct _vs_cursor) /* position cursor */
  94. #define QD_SET _IO('g', 15) /* set DUART & driver defaults */
  95. #define QD_MAPSCROLL _IOR('g', 16, caddr_t) /* map scroll param area */
  96. #define QD_UNMAPSCROLL _IO('g', 17) /* unmap scroll param area */
  97. #define QD_MAPCOLOR _IOR('g', 18, caddr_t) /* map color map write buf */
  98. #define QD_UNMAPCOLOR _IO('g', 19) /* unmap color map write buf */
  99. #define QD_KERN_LOOP _IO('g', 20) /* detour kernel console output */
  100. #define QD_KERN_UNLOOP _IO('g', 21) /* un-detour kernel console output */
  101. #define QD_PRGTABRES _IOW('g', 22, short) /* program tablet resolution */