INtime SDK Help
PciGetMemoryInfo

Checks that the PCI Express access (memory-mapped) method to configuration space is available, and returns information about it.

BOOLEAN PciGetMemoryInfo(
    PCIMEMORYINFO *pMemInfo
);
        
typedef struct {
    QWORD qwBaseAddress;
    WORD wPciSegmentGroupNumber;
    BYTE byStartBusNumber;
    BYTE byEndBusNumber;
} PCIMEMORYINFO;

Parameters

pMemInfo
A pointer to a PCIMEMORYINFO structure, where information from the ACPI MCFG table is stored. This value may be NULL if the information is not required.

Return Values

TRUE, if the PCI Express access method is available, and therefore the PcieGet/SetConfigRegister calls will return valid results. Otherwise FALSE. In this case, PcieGetConfigRegister will always return 0xffffffff, and PcieSetConfigRegister will have no action.

Requirements

Versions Defined in Include Link to
INtime 6.4 intime/rt/include/pcibus.h pcibus.h pcibus.lib
   
See Also