SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
simics::systemc::tlm2simics::PciBus Class Reference

Protocol specific transaction handler for Simics pci_bus interface. More...

#include <pci_bus.h>

Inheritance diagram for simics::systemc::tlm2simics::PciBus:
simics::systemc::InterfaceProvider simics::systemc::tlm2simics::DmiTransactionHandler simics::systemc::iface::PciBusInterface simics::systemc::iface::PciUpstreamOperationInterface simics::systemc::tlm2simics::TransactionHandler simics::systemc::InterfaceProvider::TargetUpdateListener simics::systemc::tlm2simics::GasketOwner simics::systemc::Registrant< TransactionHandlerInterface >

Public Member Functions

 PciBus ()
 
bool get_direct_mem_ptr (ConfObjectRef &simics_obj, tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data) override
 
void raise_interrupt (int pin) override
 
void lower_interrupt (int pin) override
 
int interrupt_acknowledge () override
 
int add_map (types::addr_space_t space, types::map_info_t info) override
 
int remove_map (types::addr_space_t space, int function) override
 
void set_bus_number (int bus_id) override
 
void set_sub_bus_number (int bus_id) override
 
void add_default (types::addr_space_t space, types::map_info_t info) override
 
void remove_default (types::addr_space_t space) override
 
void bus_reset () override
 
void special_cycle (uint32_t value) override
 
void system_error () override
 
int get_bus_address () override
 
void set_device_status (int device, int function, int enabled) override
 
types::pci_bus_exception_type_t read (uint16_t rid, types::addr_space_t space) override
 
types::pci_bus_exception_type_t write (uint16_t rid, types::addr_space_t space) override
 
void set_target (const ConfObjectRef &obj) override
 
void set_device (conf_object_t *device)
 
iface::ReceiverInterfacereceiver () override
 
- Public Member Functions inherited from simics::systemc::InterfaceProvider
 InterfaceProvider (const char *interface_name)
 
 InterfaceProvider (const InterfaceProvider &)=delete
 
InterfaceProvideroperator= (const InterfaceProvider &)=delete
 
virtual ~InterfaceProvider ()
 
virtual void set_target (const ConfObjectRef &obj)
 
virtual void add_target_update_listener (TargetUpdateListener *l)
 
virtual void remove_target_update_listener (TargetUpdateListener *l)
 
virtual const simics::ConfObjectRef & target () const
 
virtual bool has_interface ()
 
virtual const char * get_interface_name () const
 
template<typename TInterface >
SimicsTargetLock< TInterface > get_interface ()
 
virtual void set_optional (bool optional)
 
virtual bool optional () const
 
- Public Member Functions inherited from simics::systemc::tlm2simics::DmiTransactionHandler
 DmiTransactionHandler (InterfaceProvider *interface_provider, iface::ReceiverInterface *ignore_receiver=NULL, InterfaceProvider *dmi_interface_provider=NULL)
 
virtual ~DmiTransactionHandler ()
 
bool get_direct_mem_ptr (ConfObjectRef &simics_obj, tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data) override
 
void update_dmi_allowed (ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
 
void update_target (ConfObjectRef old_target, ConfObjectRef new_target) override
 
- Public Member Functions inherited from simics::systemc::tlm2simics::TransactionHandler
 TransactionHandler (InterfaceProvider *interface_provider, iface::ReceiverInterface *ignore_receiver=NULL, InterfaceProvider *error_interface_provider=NULL)
 
virtual ~TransactionHandler ()
 
void set_gasket (GasketInterface::Ptr gasketInterface) override
 
bool get_direct_mem_ptr (ConfObjectRef &simics_obj, tlm::tlm_generic_payload &trans, tlm::tlm_dmi &dmi_data) override
 
unsigned int debug_transaction (ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
 
void update_dmi_allowed (ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
 
bool byte_enable_supported (ConfObjectRef &simics_obj, tlm::tlm_generic_payload *trans) override
 
const GasketOwnergasket_owner () const override
 
const InterfaceProviderinterface_provider () const override
 
- Public Member Functions inherited from simics::systemc::tlm2simics::GasketOwner
 GasketOwner ()
 
 GasketOwner (const GasketOwner &)=delete
 
GasketOwneroperator= (const GasketOwner &)=delete
 
virtual ~GasketOwner ()=default
 
virtual void set_gasket (GasketInterface::Ptr gasketInterface)
 
GasketInterface::Ptr gasket () const
 
- Public Member Functions inherited from simics::systemc::Registrant< TransactionHandlerInterface >
 Registrant ()
 
 Registrant (const Registrant &rhs)
 
virtual ~Registrant ()
 
void detach ()
 
- Public Member Functions inherited from simics::systemc::InterfaceProvider::TargetUpdateListener
virtual ~TargetUpdateListener ()
 
virtual void update_target (ConfObjectRef old_target, ConfObjectRef new_target)=0
 
- Public Member Functions inherited from simics::systemc::iface::PciBusInterface
virtual void raise_interrupt (int pin)=0
 
virtual void lower_interrupt (int pin)=0
 
virtual int interrupt_acknowledge ()=0
 
virtual int add_map (types::addr_space_t space, types::map_info_t info)=0
 
virtual int remove_map (types::addr_space_t space, int function)=0
 
virtual void set_bus_number (int bus_id)=0
 
virtual void set_sub_bus_number (int bus_id)=0
 
virtual void add_default (types::addr_space_t space, types::map_info_t info)=0
 
virtual void remove_default (types::addr_space_t space)=0
 
virtual void bus_reset ()=0
 
virtual void special_cycle (uint32_t value)=0
 
virtual void system_error ()=0
 
virtual int get_bus_address ()=0
 
virtual void set_device_status (int device, int function, int enabled)=0
 
virtual ~PciBusInterface ()
 
- Public Member Functions inherited from simics::systemc::iface::PciUpstreamOperationInterface
virtual types::pci_bus_exception_type_t read (uint16_t rid, types::addr_space_t space)=0
 
virtual types::pci_bus_exception_type_t write (uint16_t rid, types::addr_space_t space)=0
 
virtual ~PciUpstreamOperationInterface ()
 

Additional Inherited Members

- Protected Member Functions inherited from simics::systemc::InterfaceProvider
virtual const interface_t * get_interface ()
 
- Protected Member Functions inherited from simics::systemc::tlm2simics::DmiTransactionHandler
SimicsTargetLock< const direct_memory_interface_t > direct_memory (ConfObjectRef target)
 
SimicsTargetLock< const direct_memory_lookup_interface_t > direct_memory_lookup ()
 
- Protected Attributes inherited from simics::systemc::InterfaceProvider
simics::ConfObjectRef target_obj_
 
const interface_t * interface_
 
const char * interface_name_
 
bool optional_
 
std::set< TargetUpdateListener * > * target_update_listeners_
 
- Protected Attributes inherited from simics::systemc::tlm2simics::TransactionHandler
InterfaceProviderinterface_provider_
 
ErrorTransactionHandler error_transaction_handler_
 
- Protected Attributes inherited from simics::systemc::tlm2simics::GasketOwner
GasketInterface::Ptr gasket_
 

Detailed Description

Protocol specific transaction handler for Simics pci_bus interface.

Constructor & Destructor Documentation

◆ PciBus()

simics::systemc::tlm2simics::PciBus::PciBus ( )
inline

Member Function Documentation

◆ add_default()

void simics::systemc::tlm2simics::PciBus::add_default ( types::addr_space_t  space,
types::map_info_t  info 
)
overridevirtual

◆ add_map()

int simics::systemc::tlm2simics::PciBus::add_map ( types::addr_space_t  space,
types::map_info_t  info 
)
overridevirtual

◆ bus_reset()

void simics::systemc::tlm2simics::PciBus::bus_reset ( )
overridevirtual

◆ get_bus_address()

int simics::systemc::tlm2simics::PciBus::get_bus_address ( )
overridevirtual

◆ get_direct_mem_ptr()

bool simics::systemc::tlm2simics::PciBus::get_direct_mem_ptr ( ConfObjectRef &  simics_obj,
tlm::tlm_generic_payload &  trans,
tlm::tlm_dmi &  dmi_data 
)
override

◆ interrupt_acknowledge()

int simics::systemc::tlm2simics::PciBus::interrupt_acknowledge ( )
overridevirtual

◆ lower_interrupt()

void simics::systemc::tlm2simics::PciBus::lower_interrupt ( int  pin)
overridevirtual

◆ raise_interrupt()

void simics::systemc::tlm2simics::PciBus::raise_interrupt ( int  pin)
overridevirtual

◆ read()

types::pci_bus_exception_type_t simics::systemc::tlm2simics::PciBus::read ( uint16_t  rid,
types::addr_space_t  space 
)
overridevirtual

◆ receiver()

iface::ReceiverInterface * simics::systemc::tlm2simics::PciBus::receiver ( )
override

◆ remove_default()

void simics::systemc::tlm2simics::PciBus::remove_default ( types::addr_space_t  space)
overridevirtual

◆ remove_map()

int simics::systemc::tlm2simics::PciBus::remove_map ( types::addr_space_t  space,
int  function 
)
overridevirtual

◆ set_bus_number()

void simics::systemc::tlm2simics::PciBus::set_bus_number ( int  bus_id)
overridevirtual

◆ set_device()

void simics::systemc::tlm2simics::PciBus::set_device ( conf_object_t *  device)
inline

◆ set_device_status()

void simics::systemc::tlm2simics::PciBus::set_device_status ( int  device,
int  function,
int  enabled 
)
overridevirtual

◆ set_sub_bus_number()

void simics::systemc::tlm2simics::PciBus::set_sub_bus_number ( int  bus_id)
overridevirtual

◆ set_target()

void simics::systemc::tlm2simics::PciBus::set_target ( const ConfObjectRef &  obj)
inlineoverridevirtual

◆ special_cycle()

void simics::systemc::tlm2simics::PciBus::special_cycle ( uint32_t  value)
overridevirtual

◆ system_error()

void simics::systemc::tlm2simics::PciBus::system_error ( )
overridevirtual

◆ write()

types::pci_bus_exception_type_t simics::systemc::tlm2simics::PciBus::write ( uint16_t  rid,
types::addr_space_t  space 
)
overridevirtual

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