gem5 v24.0.0.0
|
#include <sc_ext.hh>
Public Member Functions | |
Gem5Extension (gem5::PacketPtr p) | |
tlm_extension_base * | clone () const override |
void | copy_from (const tlm_extension_base &ext) override |
gem5::PacketPtr | getPacket () |
Public Member Functions inherited from tlm::tlm_extension< Gem5Extension > | |
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 Gem5Extension & | getExtension (const tlm::tlm_generic_payload *payload) |
static Gem5Extension & | getExtension (const tlm::tlm_generic_payload &payload) |
Private Attributes | |
gem5::PacketPtr | packet |
Additional Inherited Members | |
Static Public Attributes inherited from tlm::tlm_extension< Gem5Extension > | |
static const 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 &) |
Gem5SystemC::Gem5Extension::Gem5Extension | ( | gem5::PacketPtr | p | ) |
|
overridevirtual |
Implements tlm::tlm_extension< Gem5Extension >.
Definition at line 141 of file sc_ext.cc.
References Gem5Extension(), and packet.
|
override |
Definition at line 147 of file sc_ext.cc.
References gem5::ArmISA::ext, and packet.
|
static |
Definition at line 129 of file sc_ext.cc.
References getExtension().
|
static |
Definition at line 120 of file sc_ext.cc.
References tlm::tlm_generic_payload::get_extension(), and sc_assert.
Referenced by getExtension().
PacketPtr Gem5SystemC::Gem5Extension::getPacket | ( | ) |
Definition at line 135 of file sc_ext.cc.
References packet.
Referenced by sc_gem5::payload2packet().
|
private |
Definition at line 69 of file sc_ext.hh.
Referenced by clone(), copy_from(), and getPacket().