hpci_rd_cfg32()
Read 32 bits from the PCI configuration space
Synopsis:
#include <qvm/hpci.h>uint32_t hpci_rd_cfg32(hpci_t *hdl,
unsigned off)Arguments:
- hdl
- A handle to a host PCI device.
- off
- An offset into the PCI configuration space, in bytes.
Description:
This function reads 32 bits of device-specific data from the PCI configuration space, starting at offset off.
Returns:
Contents of the configuration space.
Page updated:
