gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 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 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 >
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 &)
 

Detailed Description

Definition at line 54 of file sc_ext.hh.

Constructor & Destructor Documentation

◆ Gem5Extension()

Gem5SystemC::Gem5Extension::Gem5Extension ( gem5::PacketPtr p)

Definition at line 115 of file sc_ext.cc.

Referenced by clone().

Member Function Documentation

◆ clone()

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

Implements tlm::tlm_extension< Gem5Extension >.

Definition at line 141 of file sc_ext.cc.

References Gem5Extension(), and packet.

◆ copy_from()

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

Definition at line 147 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 129 of file sc_ext.cc.

References getExtension().

◆ getExtension() [2/2]

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

Definition at line 120 of file sc_ext.cc.

References tlm::tlm_generic_payload::get_extension(), and sc_assert.

Referenced by getExtension().

◆ getPacket()

PacketPtr Gem5SystemC::Gem5Extension::getPacket ( )

Definition at line 135 of file sc_ext.cc.

References packet.

Referenced by sc_gem5::payload2packet().

Member Data Documentation

◆ packet

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

Definition at line 69 of file sc_ext.hh.

Referenced by clone(), copy_from(), and getPacket().


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

Generated on Tue Jun 18 2024 16:24:55 for gem5 by doxygen 1.11.0