Rev 19 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 19 | f9daq | 1 | #ifndef __PCIVME_I_H__ |
| 2 | #define __PCIVME_I_H__ |
||
| 3 | |||
| 4 | //------------------------------------------------------------------------- |
||
| 5 | // WINNT driver for PCIVME interface from ARW Elektronik, Germany --------- |
||
| 6 | // the header file to pcivme_i.c - all around interrupt handling |
||
| 7 | // |
||
| 8 | // (c) 1999-2004 ARW Elektronik |
||
| 9 | // |
||
| 10 | // this source code is published under GPL (Open Source). You can use, redistrubute and |
||
| 11 | // modify it unless this header is not modified or deleted. No warranty is given that |
||
| 12 | // this software will work like expected. |
||
| 13 | // This product is not authorized for use as critical component in life support systems |
||
| 14 | // wihout the express written approval of ARW Elektronik Germany. |
||
| 15 | // |
||
| 16 | // Please announce changes and hints to ARW Elektronik |
||
| 17 | // |
||
| 18 | // $Log: pcivme_i.h,v $ |
||
| 19 | // Revision 1.3 2004/07/24 07:07:26 klaus |
||
| 20 | // Update copyright to 2004 |
||
| 21 | // |
||
| 22 | // Revision 1.2 2003/11/15 19:12:51 klaus |
||
| 23 | // Update copyright to 2003 |
||
| 24 | // |
||
| 25 | // Revision 1.1.1.1 2003/11/14 23:16:33 klaus |
||
| 26 | // First put into repository |
||
| 27 | // |
||
| 28 | // Revision 1.3 2002/10/27 16:17:48 klaus |
||
| 29 | // Typing bug fixed caused at log addition |
||
| 30 | // |
||
| 31 | // Revision 1.2 2002/10/27 16:11:02 klaus |
||
| 32 | // Added CVS log into header |
||
| 33 | // |
||
| 34 | // what who when |
||
| 35 | // started AR 15.06.99 |
||
| 36 | // changed resource allocation caused by WIN2000 AR 08.06.2002 |
||
| 37 | // |
||
| 38 | |||
| 39 | //------------------------------------------------------------------------- |
||
| 40 | // INCLUDES |
||
| 41 | // |
||
| 42 | #include <ntddk.h> |
||
| 43 | #include <pcivme_drv.h> |
||
| 44 | |||
| 45 | //------------------------------------------------------------------------ |
||
| 46 | // DEFINES |
||
| 47 | // |
||
| 48 | |||
| 49 | //------------------------------------------------------------------------ |
||
| 50 | // PROTOTYPES |
||
| 51 | // |
||
| 52 | void globalInterruptEnable(PCIADA *pciada); |
||
| 53 | void globalInterruptDisable(PCIADA *pciada); |
||
| 54 | NTSTATUS PCIVMETranslateInterrupts(PDEVICE_OBJECT device_Obj); |
||
| 55 | NTSTATUS PCIVMEConnectInterrupt(PDEVICE_OBJECT device_Obj); |
||
| 56 | NTSTATUS PCIVMEDisConnectInterrupt(PDEVICE_OBJECT device_Obj); |
||
| 57 | |||
| 58 | |||
| 59 | /* release all this procedures after init of the driver */ |
||
| 60 | #ifdef ALLOC_PRAGMA |
||
| 61 | #pragma alloc_text (init, PCIVMEConnectInterrupt) |
||
| 62 | #pragma alloc_text (init, PCIVMETranslateInterrupts) |
||
| 63 | #endif |
||
| 64 | |||
| 65 | /* put all this procedures in the paged memory-pool, all called at passiv Level */ |
||
| 66 | #ifdef ALLOC_PRAGMA |
||
| 67 | #pragma alloc_text (page, PCIVMEDisConnectInterrupt) |
||
| 68 | #endif |
||
| 69 | |||
| 70 | #endif //__PCIVME_I_H__ |