SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics::systemc::iface::PcieBaseAddressRegisterQueryInterface Class Referenceabstract

Interface that allows the Simics glue to perform snooping and automatic connection of the device's target sockets based on the number of BARs implemented. More...

#include <pcie_device_query_interface.h>

Classes

struct  PCIeBar
 Base Address Register (BAR) configuration. More...
 

Public Member Functions

virtual ~PcieBaseAddressRegisterQueryInterface ()=default
 
virtual std::vector< PCIeBargetBarInfo ()=0
 BAR register information.
 

Detailed Description

Interface that allows the Simics glue to perform snooping and automatic connection of the device's target sockets based on the number of BARs implemented.

Constructor & Destructor Documentation

◆ ~PcieBaseAddressRegisterQueryInterface()

virtual simics::systemc::iface::PcieBaseAddressRegisterQueryInterface::~PcieBaseAddressRegisterQueryInterface ( )
virtualdefault

Member Function Documentation

◆ getBarInfo()

virtual std::vector< PCIeBar > simics::systemc::iface::PcieBaseAddressRegisterQueryInterface::getBarInfo ( )
pure virtual

BAR register information.

Returns
a vector that contains up to six entries per PCI(e) function, one for each BAR. A 64-bit BAR has is_64bit=true and is represented as a single entry, not two. Unimplemented bars must be left out of the list.

The documentation for this class was generated from the following file: