home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v2.zip / DDKX86 / DBCSDD / INC / VDMA.INC < prev    next >
Text File  |  1995-04-14  |  1KB  |  54 lines

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  4. ;
  5. ;    The following IBM OS/2 WARP source code is provided to you solely for
  6. ;    the purpose of assisting you in your development of OS/2 WARP device
  7. ;    drivers. You may use this code in accordance with the IBM License
  8. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  9. ;    Copyright statement may not be removed.;
  10. ;*****************************************************************************/
  11. ;***    VDMA.INC
  12. ;
  13. ;
  14. ;    MVDM Virtual DMA Exported Definitions
  15. ;
  16. ;    For include file hierarchy, see MVDM.INC
  17. ;
  18. ;
  19. ;    MODIFICATION HISTORY
  20. ;    90/05/21  SB   Created.
  21. ;    92/11/03  JDM  Added VDMA Request VDD defines
  22. ;    93/03/06  JAG  Changed DMAREQINFO.ri_ulReserved to .ri_Address
  23. ;
  24.  
  25. ; VDMA defines
  26.  
  27. VDD_DMA_MASKOFF        EQU    0    ;Mask off notification to VDD
  28. VDD_DMA_MASK    EQU    1    ;Mask on  notification to VDD
  29.  
  30. VDMA_NAME    EQU    "VDMA"
  31.  
  32. VDMA_GET_INFO_CMD    EQU    0
  33. VDMA_REGISTER_VXGA    EQU    1
  34.  
  35. DefStruc ,dmaChnlInfo_s
  36.     ULONG    ch_addrBase
  37.     USHORT    ch_cbCount
  38.     USHORT    ch_txMode
  39. EndStruc DMACHNLINFO
  40. DefType PDMACHNLINFO,dd
  41.  
  42. DefStruc ,dmaReqInfo_s
  43.     ULONG      ri_iChannel
  44.     PFNDEVREQ ri_Address
  45. EndStruc DMAREQINFO
  46. DefType PDMAREQINFO,dd
  47.  
  48. DefType PFNDMA,dd
  49.  
  50. ; VDMA function prototypes
  51.  
  52. VDHENTRY VDHRegisterDMAChannel        <ULONG,PFNDMA>
  53. VDHENTRY VDHCallOutDMA        <VOID>
  54.