gem5  v21.1.0.2
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Gem5SystemC::Gem5Extension Class Reference

#include <sc_ext.hh>

Inheritance diagram for Gem5SystemC::Gem5Extension:
tlm::tlm_extension< Gem5Extension > tlm::tlm_extension_base

Public Member Functions

 Gem5Extension (gem5::PacketPtr _packet)
 
virtual tlm_extension_base * clone () const
 
virtual void copy_from (const tlm_extension_base &ext)
 
gem5::PacketPtr getPacket ()
 
- Public Member Functions inherited from tlm::tlm_extension< Gem5Extension >
virtual tlm_extension_baseclone () const=0
 
virtual void copy_from (tlm_extension_base const &ext)=0
 
virtual ~tlm_extension ()
 
- Public Member Functions inherited from tlm::tlm_extension_base
virtual void free ()
 

Static Public Member Functions

static Gem5ExtensiongetExtension (const tlm::tlm_generic_payload *payload)
 
static Gem5ExtensiongetExtension (const tlm::tlm_generic_payload &payload)
 

Private Attributes

gem5::PacketPtr packet
 

Additional Inherited Members

- Static Public Attributes inherited from tlm::tlm_extension< Gem5Extension >
const static unsigned int ID
 
- Protected Member Functions inherited from tlm::tlm_extension_base
virtual ~tlm_extension_base ()
 
- Static Protected Member Functions inherited from tlm::tlm_extension_base
static unsigned int register_extension (const std::type_info &)
 

Detailed Description

Definition at line 46 of file sc_ext.hh.

Constructor & Destructor Documentation

◆ Gem5Extension()

Gem5SystemC::Gem5Extension::Gem5Extension ( gem5::PacketPtr  _packet)

Definition at line 43 of file sc_ext.cc.

Member Function Documentation

◆ clone()

tlm::tlm_extension_base * Gem5SystemC::Gem5Extension::clone ( ) const
virtual

Implements tlm::tlm_extension_base.

Definition at line 70 of file sc_ext.cc.

◆ copy_from()

void Gem5SystemC::Gem5Extension::copy_from ( const tlm_extension_base &  ext)
virtual

Definition at line 76 of file sc_ext.cc.

References gem5::ArmISA::ext, and packet.

◆ getExtension() [1/2]

Gem5Extension & Gem5SystemC::Gem5Extension::getExtension ( const tlm::tlm_generic_payload payload)
static

Definition at line 58 of file sc_ext.cc.

◆ getExtension() [2/2]

Gem5Extension & Gem5SystemC::Gem5Extension::getExtension ( const tlm::tlm_generic_payload payload)
static

◆ getPacket()

PacketPtr Gem5SystemC::Gem5Extension::getPacket ( )

Member Data Documentation

◆ packet

gem5::PacketPtr Gem5SystemC::Gem5Extension::packet
private

Definition at line 61 of file sc_ext.hh.

Referenced by copy_from().


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

Generated on Tue Sep 21 2021 12:35:04 for gem5 by doxygen 1.8.17