pciIntLib.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* pciIntLib.h - PCI Interrupt support public constants header file */
  2. /* Copyright 1984-1998 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01b,04mar98, tm  moved pciIntRtn structure to private header file
  7. 01a,24feb98, tm  derived from pciIomapLib.h v01a from ebsa285 BSP
  8. */
  9. #ifndef __INCpciIntLibh
  10. #define __INCpciIntLibh
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #ifndef PCI_IRQ_LINES
  15. #define PCI_IRQ_LINES   32
  16. #endif /* PCI_IRQ_LINES */
  17. #ifndef _ASMLANGUAGE
  18. #if defined(__STDC__) || defined(__cplusplus)
  19. STATUS pciIntLibInit (void);
  20. STATUS pciIntConnect (VOIDFUNCPTR *vector, VOIDFUNCPTR routine,
  21.  int parameter);
  22. STATUS pciIntDisconnect (VOIDFUNCPTR *vector, VOIDFUNCPTR routine);
  23. #else /* __STDC__ */
  24. STATUS pciIntLibInit ();
  25. STATUS pciIntConnect ();
  26. STATUS pciIntDisconnect ();
  27. #endif /* __STDC__ */
  28. #endif /* _ASMLANGUAGE */
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif /* __INCpciIntLibh */