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


/* sysBusPci.h - Platform-specific PCI support constants header file */

#ifndef __INCsysBusPcih
#define __INCsysBusPcih

#ifdef __cplusplus
extern "C" {
#endif

#ifndef _ASMLANGUAGE

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

STATUS sysPciAutoConfigInclude
    (
    PCI_SYSTEM * pSys,          /* PCI_SYSTEM structure pointer */
    PCI_LOC * pLoc,         /* pointer to function in question */
    UINT devVend            /* deviceID/vendorID of device */
    );

UCHAR sysPciAutoConfigIntrAssign
    (
    PCI_SYSTEM * pSys,          /* PCI_SYSTEM structure pointer */
    PCI_LOC * pLoc,         /* pointer to function in question */
    UCHAR pin               /* contents of PCI int pin register */
    );

void sysPciAutoconfigPreEnumBridgeInit
    (
    PCI_SYSTEM * pSys,          /* PCI_SYSTEM structure pointer */
    PCI_LOC * pLoc,         /* pointer to function in question */
    UINT devVend            /* deviceID/vendorID of device */
    );

void sysPciAutoconfigPostEnumBridgeInit
    (
    PCI_SYSTEM * pSys,          /* PCI_SYSTEM structure pointer */
    PCI_LOC * pLoc,         /* pointer to function in question */
    UINT devVend            /* deviceID/vendorID of device */
    );


#else   /* __STDC__ */

STATUS sysPciAutoConfigInclude ();
UCHAR sysPciAutoConfigIntrAssign ();
void sysPciAutoconfigPreEnumBridgeInit ();
void sysPciAutoconfigPostEnumBridgeInit  ();

#endif  /* __STDC__ */

#endif  /* _ASMLANGUAGE */

#ifdef __cplusplus
}
#endif

#endif /* __INCsysBusPcih */