PCIBus
ULONG PCIBus; //0x4C
PCI::ClearDeviceStatus(PCIBus *bus, bool dumpStatus)
PCI::_DiscoverBus(PCIBus *bus)
PCI::_DiscoverDevice(PCIBus *bus, uint8 dev, uint8 function)
PCIBus *newBus = _CreateBus(newDev, bus->domain, secondaryBus);
PCIBus *
PCIBus *newBus = new(std::nothrow) PCIBus;
PCI::_CreateDevice(PCIBus *parent, uint8 device, uint8 function)
PCI::_RefreshDeviceInfo(PCIBus *bus)
PCI::_FindDevice(PCIBus *current, uint8 domain, uint8 bus, uint8 device,
PCI::InitBus(PCIBus *bus)
data.bus = new(std::nothrow) PCIBus {.domain = domain};
PCI::_GetNthInfo(PCIBus *bus, long *currentIndex, long wantIndex,
PCI::_ConfigureBridges(PCIBus *bus)
void ClearDeviceStatus(PCIBus *bus, bool dumpStatus);
void _DiscoverBus(PCIBus *bus);
void _DiscoverDevice(PCIBus *bus, uint8 dev,
PCIDev * _CreateDevice(PCIBus *parent, uint8 dev,
PCIBus * _CreateBus(PCIDev *parent, uint8 domain,
status_t _GetNthInfo(PCIBus *bus, long *currentIndex,
void _ConfigureBridges(PCIBus *bus);
void _RefreshDeviceInfo(PCIBus *bus);
PCIDev * _FindDevice(PCIBus *current, uint8 domain,
PCIBus * parent;
PCIBus * child;
PCIBus * bus;
void InitBus(PCIBus *bus);
pci_root_traverse(device_node* node, PCIBus* bus)
vhdr->PCIBus, vhdr->PCIDevice, vhdr->PCIFunction, vhdr->VendorID, vhdr->DeviceID);
|| info.pci->bus != vhdr->PCIBus || info.pci->device != vhdr->PCIDevice