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   
C/C++ Source or Header  |  1995-04-14  |  2KB  |  74 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. /*****************************************************************************/
  12. /**************************************************************************
  13.  *
  14.  * SOURCE FILE NAME =  RMHELP.H
  15.  *
  16.  * DESCRIPTIVE NAME =  Header file for rmhelp.c
  17.  *
  18.  *
  19.  *
  20.  * VERSION = V0.1
  21.  *
  22.  * DATE  09/02/94
  23.  *
  24.  * DESCRIPTION : (see above)
  25.  *
  26.  * Purpose: (see above)
  27.  *
  28.  *
  29.  *
  30.  * FUNCTIONS  :
  31.  *
  32.  * NOTES
  33.  *
  34.  *
  35.  * STRUCTURES
  36.  *
  37.  * EXTERNAL REFERENCES
  38.  *
  39.  *
  40.  *
  41.  * EXTERNAL FUNCTIONS
  42.  *
  43. */
  44.  
  45. #ifndef  __RMHELP_H__
  46. #define  __RMHELP_H__
  47.  
  48. #include "rmcalls.h"
  49.  
  50. /*--------------------------------------------------------*/
  51. /* # D E F I N E S                                        */
  52. /*--------------------------------------------------------*/
  53. #define   RMHELP_ERR_RESOURCECLAIMED    0xFFFF
  54. #define   MACH_EISA      1
  55. #define   MACH_UCHNL     2
  56. #define   MACH_PCMCIA    3
  57. #define   MACH_ISA       4
  58. #define   MACH_PCI       5
  59.  
  60. /*--------------------------------------------------------*/
  61. /* P R T O T Y P E S                                      */
  62. /*--------------------------------------------------------*/
  63. USHORT FAR RMHELP_CreateDriver( VOID );
  64. VOID   FAR RMHELP_DestroyDriver( VOID);
  65. USHORT FAR RMHELP_CreateAdpater( USHORT adn );
  66. USHORT FAR RMHELP_AllocPorts( USHORT MachType, USHORT baseport, USHORT nPorts);
  67. USHORT FAR RMHELP_AllocIRQ( USHORT MachType, USHORT IRQlevel);
  68. USHORT FAR RMHELP_AllocDMA( USHORT DMAlevel);
  69. USHORT FAR RMHELP_AllocMEM(ULONG membase,ULONG memsize);
  70. USHORT FAR RMHELP_CreateLDev( PCOMINFO pComInfo );
  71. VOID   FAR RMHELP_DestroyLDev( PCOMINFO pComInfo );
  72.  
  73. #endif /* __RMHELP_H__ */
  74.