gem5
v20.1.0.0
|
#include <instance_specific_extensions_int.h>
Public Types | |
typedef instance_specific_extension_container | container_type |
Public Member Functions | |
instance_specific_extensions_per_accessor (container_type *container) | |
template<typename T > | |
T * | set_extension (T *ext) |
ispex_base * | set_extension (unsigned int index, ispex_base *ext) |
template<typename T > | |
void | get_extension (T *&ext) const |
ispex_base * | get_extension (unsigned int index) const |
template<typename T > | |
void | clear_extension (const T *) |
void | clear_extension (unsigned int index) |
void | resize_extensions () |
Private Attributes | |
tlm::tlm_array< ispex_base * > | m_extensions |
container_type * | m_container |
Definition at line 68 of file instance_specific_extensions_int.h.
typedef instance_specific_extension_container tlm_utils::instance_specific_extensions_per_accessor::container_type |
Definition at line 71 of file instance_specific_extensions_int.h.
|
inlineexplicit |
Definition at line 74 of file instance_specific_extensions_int.h.
|
inline |
Definition at line 99 of file instance_specific_extensions_int.h.
void tlm_utils::instance_specific_extensions_per_accessor::clear_extension | ( | unsigned int | index | ) |
Definition at line 244 of file instance_specific_extensions.cc.
References tlm_utils::instance_specific_extension_container::dec_use_count(), MipsISA::index, m_container, and m_extensions.
|
inline |
Definition at line 90 of file instance_specific_extensions_int.h.
References ArmISA::ext.
ispex_base * tlm_utils::instance_specific_extensions_per_accessor::get_extension | ( | unsigned int | index | ) | const |
Definition at line 237 of file instance_specific_extensions.cc.
References MipsISA::index, and m_extensions.
void tlm_utils::instance_specific_extensions_per_accessor::resize_extensions | ( | ) |
Definition at line 254 of file instance_specific_extensions.cc.
References m_extensions, and tlm::max_num_extensions().
Referenced by set_extension().
|
inline |
Definition at line 80 of file instance_specific_extensions_int.h.
References ArmISA::ext.
ispex_base * tlm_utils::instance_specific_extensions_per_accessor::set_extension | ( | unsigned int | index, |
ispex_base * | ext | ||
) |
Definition at line 225 of file instance_specific_extensions.cc.
References ArmISA::ext, tlm_utils::instance_specific_extension_container::inc_use_count(), MipsISA::index, m_container, m_extensions, and resize_extensions().
|
private |
Definition at line 116 of file instance_specific_extensions_int.h.
Referenced by clear_extension(), and set_extension().
|
private |
Definition at line 115 of file instance_specific_extensions_int.h.
Referenced by clear_extension(), get_extension(), resize_extensions(), and set_extension().