Subversion Repositories f9daq

Rev

Rev 23 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #ifndef __PCICC33_I_H__
  2. #define __PCICC32_I_H__
  3.  
  4. //-------------------------------------------------------------------------
  5. // WINNT driver for PCICC32 interface from ARW Elektronik, Germany ---------
  6. // the header file to pcicc32_i.c - all around interrupt handling
  7. //
  8. // (c) 1999 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. // what                                            who          when
  19. // started                                         AR           15.06.1999
  20. // added globalInterruptEnabledStatus()            AR           24.02.2001
  21. //
  22.  
  23. //-------------------------------------------------------------------------
  24. // INCLUDES
  25. //
  26. #include <ntddk.h>
  27. #include <pcicc32_drv.h>
  28.  
  29. //------------------------------------------------------------------------
  30. // DEFINES
  31. //
  32.  
  33. //------------------------------------------------------------------------
  34. // PROTOTYPES
  35. //
  36. void globalInterruptEnable(PCIADA *pciada);
  37. void globalInterruptDisable(PCIADA *pciada);
  38. unsigned short globalInterruptEnabledStatus(PCIADA *pciada);
  39. NTSTATUS PCICC32TranslateInterrupt(PDEVICE_OBJECT device_Obj);
  40. NTSTATUS PCICC32ConnectInterrupt(PDEVICE_OBJECT device_Obj);
  41. NTSTATUS PCICC32DisConnectInterrupt(PDEVICE_OBJECT device_Obj);
  42.  
  43.  
  44. /* release all this procedures after init of the driver */
  45. #ifdef ALLOC_PRAGMA
  46. #pragma alloc_text (init, PCICC32ConnectInterrupt)
  47. #pragma alloc_text (init, PCICC32TranslateInterrupt)
  48. #endif
  49.  
  50. /* put all this procedures in the paged memory-pool, all called at passiv Level */
  51. #ifdef ALLOC_PRAGMA
  52. #pragma alloc_text (page, PCICC32DisConnectInterrupt)
  53. #endif
  54.  
  55. #endif //__PCICC32_I_H__
  56.