class PciBusTests

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

TODO(https://fxbug.dev/42075363): Migrate test to use dispatcher integration.

Protected Methods

void SetUp ()

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

void TearDown ()

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

zx_device_t * parent ()

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

FakePciroot & pciroot ()

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

uint32_t SetupTopology ()

Sets up 5 devices, including two under a bridge.

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

uint32_t SetupMultifunctionTopology ()

Sets up 5 devices: a multifunction device with an endpoint, a bridge, and

another endpoint, plus two devices behind the bridge.

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

zx::interrupt AddLegacyIrqToBus (uint8_t vector)

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

void AddRoutingEntryToBus (std::optional<uint8_t> p_dev, std::optional<uint8_t> p_func, uint8_t dev_id, uint8_t a, uint8_t b, uint8_t c, uint8_t d)

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

void SetBoardConfiguration (fuchsia_hardware_pci::BoardConfiguration board_config)

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