morpheus_network::device::pci

Function pci_config_read32

Source
unsafe extern "C" fn pci_config_read32(
    bus: u64,
    device: u64,
    function: u64,
    offset: u64,
) -> u32
Expand description

Read 32-bit value from PCI configuration space. Args: bus, device, function, offset (must be 4-byte aligned)