class TestBus

Defined at line 172 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc

An encapsulated pci::Bus to allow inspection of some internal state.

Public Methods

void TestBus (zx_device_t * parent, const pciroot_protocol_t * pciroot, const pci_platform_info_t info, std::optional<fdf::MmioBuffer> ecam)

Defined at line 174 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc

void ~TestBus ()

Defined at line 177 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc

pci::DeviceTree & Devices ()

Defined at line 181 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc

const fuchsia_hardware_pci::BoardConfiguration & GetBoardConfiguration ()

Defined at line 183 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc

size_t GetDeviceCount ()

Defined at line 185 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc

pci::Device * GetDevice (pci_bdf_t bdf)

Defined at line 190 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc

size_t GetSharedIrqCount ()

Defined at line 196 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc

size_t GetLegacyIrqCount ()

Defined at line 201 of file ../../src/devices/pci/drivers/pci/test/unit/bus_tests.cc