class TestBus

Defined at line 164 of file ../../src/devices/bus/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 166 of file ../../src/devices/bus/drivers/pci/test/unit/bus_tests.cc

void ~TestBus ()

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

pci::DeviceTree & Devices ()

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

const fuchsia_hardware_pci::BoardConfiguration & GetBoardConfiguration ()

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

size_t GetDeviceCount ()

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

pci::Device * GetDevice (pci_bdf_t bdf)

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

size_t GetSharedIrqCount ()

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

size_t GetLegacyIrqCount ()

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