www.pudn.com > vxworks0108.rar > pciIntLib.h


/* pciIntLib.h - PCI Interrupt support public constants header file */

#ifndef __INCpciIntLibh
#define __INCpciIntLibh

#ifdef __cplusplus
extern "C" {
#endif

#ifndef PCI_IRQ_LINES
#define PCI_IRQ_LINES   32
#endif /* PCI_IRQ_LINES */

#ifndef _ASMLANGUAGE

#if defined(__STDC__) || defined(__cplusplus)

STATUS pciIntLibInit	(void);
STATUS pciIntConnect	(VOIDFUNCPTR *vector, VOIDFUNCPTR routine,
			 int parameter);
STATUS pciIntDisconnect	(VOIDFUNCPTR *vector, VOIDFUNCPTR routine);

#else	/* __STDC__ */

STATUS pciIntLibInit	();
STATUS pciIntConnect	();
STATUS pciIntDisconnect	();

#endif	/* __STDC__ */

#endif	/* _ASMLANGUAGE */

#ifdef __cplusplus
}
#endif

#endif /* __INCpciIntLibh */