gem5
v22.1.0.0
|
#include <sc_ext.hh>
Public Member Functions | |
ControlExtension () | |
tlm_extension_base * | clone () const override |
void | copy_from (const tlm_extension_base &ext) override |
bool | isPrivileged () const |
void | setPrivileged (bool p) |
bool | isSecure () const |
void | setSecure (bool s) |
bool | isInstruction () const |
void | setInstruction (bool i) |
uint8_t | getQos () const |
void | setQos (uint8_t q) |
![]() | |
virtual void | copy_from (tlm_extension_base const &ext)=0 |
virtual | ~tlm_extension () |
![]() | |
virtual void | free () |
Static Public Member Functions | |
static ControlExtension & | getExtension (const tlm::tlm_generic_payload *payload) |
static ControlExtension & | getExtension (const tlm::tlm_generic_payload &payload) |
Private Attributes | |
bool | privileged |
bool | secure |
bool | instruction |
uint8_t | qos |
Additional Inherited Members | |
![]() | |
static const unsigned int | ID |
![]() | |
virtual | ~tlm_extension_base () |
![]() | |
static unsigned int | register_extension (const std::type_info &) |
Gem5SystemC::ControlExtension::ControlExtension | ( | ) |
|
overridevirtual |
Implements tlm::tlm_extension< ControlExtension >.
Definition at line 191 of file sc_ext.cc.
References ControlExtension().
|
override |
Definition at line 197 of file sc_ext.cc.
References gem5::ArmISA::ext.
|
static |
Definition at line 204 of file sc_ext.cc.
References getExtension().
|
static |
Definition at line 210 of file sc_ext.cc.
References tlm::tlm_generic_payload::get_extension(), and sc_assert.
Referenced by getExtension().
uint8_t Gem5SystemC::ControlExtension::getQos | ( | ) | const |
bool Gem5SystemC::ControlExtension::isInstruction | ( | ) | const |
Definition at line 243 of file sc_ext.cc.
References instruction.
Referenced by gem5::fastmodel::AmbaFromTlmBridge64::syncControlExtension().
bool Gem5SystemC::ControlExtension::isPrivileged | ( | ) | const |
Definition at line 219 of file sc_ext.cc.
References privileged.
Referenced by gem5::fastmodel::AmbaFromTlmBridge64::syncControlExtension().
bool Gem5SystemC::ControlExtension::isSecure | ( | ) | const |
Definition at line 231 of file sc_ext.cc.
References secure.
Referenced by gem5::fastmodel::AmbaFromTlmBridge64::syncControlExtension().
void Gem5SystemC::ControlExtension::setInstruction | ( | bool | i | ) |
Definition at line 249 of file sc_ext.cc.
References gem5::ArmISA::i, and instruction.
Referenced by gem5::fastmodel::AmbaToTlmBridge64::setupControlExtension().
void Gem5SystemC::ControlExtension::setPrivileged | ( | bool | p | ) |
Definition at line 225 of file sc_ext.cc.
References gem5::VegaISA::p, and privileged.
Referenced by gem5::fastmodel::AmbaToTlmBridge64::setupControlExtension().
void Gem5SystemC::ControlExtension::setQos | ( | uint8_t | q | ) |
Definition at line 261 of file sc_ext.cc.
References gem5::ArmISA::q, and qos.
void Gem5SystemC::ControlExtension::setSecure | ( | bool | s | ) |
Definition at line 237 of file sc_ext.cc.
References gem5::VegaISA::s, and secure.
Referenced by gem5::fastmodel::AmbaToTlmBridge64::setupControlExtension().
|
private |
Definition at line 122 of file sc_ext.hh.
Referenced by isInstruction(), and setInstruction().
|
private |
Definition at line 120 of file sc_ext.hh.
Referenced by isPrivileged(), and setPrivileged().
|
private |
|
private |
Definition at line 121 of file sc_ext.hh.
Referenced by isSecure(), and setSecure().