class TestBus

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

void ~TestBus ()

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

pci::DeviceTree & Devices ()

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

const fuchsia_hardware_pci::BoardConfiguration & GetBoardConfiguration ()

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

size_t GetDeviceCount ()

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

pci::Device * GetDevice (pci_bdf_t bdf)

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

size_t GetSharedIrqCount ()

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

size_t GetLegacyIrqCount ()

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