home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ddkx86v5.zip
/
DDKX86
/
SRC
/
DEV
/
ATCOM
/
RMHELP.H
< prev
Wrap
C/C++ Source or Header
|
1995-04-14
|
2KB
|
74 lines
/*DDK*************************************************************************/
/* */
/* COPYRIGHT Copyright (C) 1995 IBM Corporation */
/* */
/* The following IBM OS/2 WARP source code is provided to you solely for */
/* the purpose of assisting you in your development of OS/2 WARP device */
/* drivers. You may use this code in accordance with the IBM License */
/* Agreement provided in the IBM Device Driver Source Kit for OS/2. This */
/* Copyright statement may not be removed. */
/* */
/*****************************************************************************/
/**************************************************************************
*
* SOURCE FILE NAME = RMHELP.H
*
* DESCRIPTIVE NAME = Header file for rmhelp.c
*
*
*
* VERSION = V0.1
*
* DATE 09/02/94
*
* DESCRIPTION : (see above)
*
* Purpose: (see above)
*
*
*
* FUNCTIONS :
*
* NOTES
*
*
* STRUCTURES
*
* EXTERNAL REFERENCES
*
*
*
* EXTERNAL FUNCTIONS
*
*/
#ifndef __RMHELP_H__
#define __RMHELP_H__
#include "rmcalls.h"
/*--------------------------------------------------------*/
/* # D E F I N E S */
/*--------------------------------------------------------*/
#define RMHELP_ERR_RESOURCECLAIMED 0xFFFF
#define MACH_EISA 1
#define MACH_UCHNL 2
#define MACH_PCMCIA 3
#define MACH_ISA 4
#define MACH_PCI 5
/*--------------------------------------------------------*/
/* P R T O T Y P E S */
/*--------------------------------------------------------*/
USHORT FAR RMHELP_CreateDriver( VOID );
VOID FAR RMHELP_DestroyDriver( VOID);
USHORT FAR RMHELP_CreateAdpater( USHORT adn );
USHORT FAR RMHELP_AllocPorts( USHORT MachType, USHORT baseport, USHORT nPorts);
USHORT FAR RMHELP_AllocIRQ( USHORT MachType, USHORT IRQlevel);
USHORT FAR RMHELP_AllocDMA( USHORT DMAlevel);
USHORT FAR RMHELP_AllocMEM(ULONG membase,ULONG memsize);
USHORT FAR RMHELP_CreateLDev( PCOMINFO pComInfo );
VOID FAR RMHELP_DestroyLDev( PCOMINFO pComInfo );
#endif /* __RMHELP_H__ */