home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
tolkit45.zip
/
os2tk45
/
h
/
vdma.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-03-15
|
1KB
|
66 lines
/*** VDMA.H
*
*
* MVDM Virtual DMA Exported Definitions
* Copyright (c) 1996 IBM Corporation
*
* MODIFICATION HISTORY
* 92/11/03 JDM Added VDMA Request VDD defines
* 93/03/06 JAG Changed DMAREQINFO.ri_ulReserved to .ri_Address
*/
/* NOINC */
#if __IBMC__ || __IBMCPP__
#pragma info( none )
#ifndef __CHKHDR__
#pragma info( none )
#endif
#pragma info( restore )
#endif
/* INC */
#ifndef __VDMA__
#define __VDMA__
/* VDMA defines */
#define VDD_DMA_MASKOFF 0 /* Mask off notification to VDD */
#define VDD_DMA_MASK 1 /* Mask on notification to VDD */
#define VDMA_NAME "VDMA"
#define VDMA_GET_INFO_CMD 0
#define VDMA_REGISTER_VXGA 1
typedef struct dmaChnlInfo_s {
ULONG ch_addrBase;
USHORT ch_cbCount;
USHORT ch_txMode;
} DMACHNLINFO;
typedef DMACHNLINFO *PDMACHNLINFO;
typedef struct dmaReqInfo_s {
ULONG ri_iChannel;
PFNDEVREQ ri_Address;
} DMAREQINFO;
typedef DMAREQINFO *PDMAREQINFO;
typedef BOOL (*HOOKENTRY PFNDMA)(HVDM,ULONG);
/* VDMA function prototypes */
BOOL VDHENTRY VDHRegisterDMAChannel(ULONG,PFNDMA);
VOID VDHENTRY VDHCallOutDMA(VOID);
#endif /* __VDMA__ */
/* NOINC */
#if __IBMC__ || __IBMCPP__
#pragma info( none )
#ifndef __CHKHDR__
#pragma info( restore )
#endif
#pragma info( restore )
#endif
/* INC */