class ProxyConfig
Defined at line 274 of file ../../src/devices/bus/drivers/pci/config.h
ProxyConfig is used with PCI buses that do not support MMIO config space,
or require special controller configuration before config access. Examples
of this are IO config on x64 due to needing to synchronize CF8/CFC with
ACPI, and Designware on ARM where the controller needs to be configured to
map a given device's configuration space in before access.
For proxy configuration access all operations are passed to the pciroot
protocol implementation hosted in the same devhost as the pci bus driver.
Public Methods
zx::result<std::unique_ptr<Config>> Create (pci_bdf_t bdf, ddk::PcirootProtocolClient * proto)
Proxy Config Implementation
Defined at line 50 of file ../../src/devices/bus/drivers/pci/config.cc
uint8_t Read (PciReg8 addr)
Defined at line 56 of file ../../src/devices/bus/drivers/pci/config.cc
uint16_t Read (PciReg16 addr)
Defined at line 62 of file ../../src/devices/bus/drivers/pci/config.cc
uint32_t Read (PciReg32 addr)
Defined at line 68 of file ../../src/devices/bus/drivers/pci/config.cc
void Write (PciReg8 addr, uint8_t val)
Defined at line 74 of file ../../src/devices/bus/drivers/pci/config.cc
void Write (PciReg16 addr, uint16_t val)
Defined at line 78 of file ../../src/devices/bus/drivers/pci/config.cc
void Write (PciReg32 addr, uint32_t val)
Defined at line 82 of file ../../src/devices/bus/drivers/pci/config.cc
const char * type ()
Defined at line 86 of file ../../src/devices/bus/drivers/pci/config.cc