gem5 v24.0.0.0
|
#include <endian_conv.hh>
Public Member Functions | |
tlm_endian_context () | |
~tlm_endian_context () | |
void | establish_dbuf (int len) |
void | establish_bebuf (int len) |
void | free () |
tlm_extension_base * | clone () const |
void | copy_from (tlm_extension_base const &) |
Public Member Functions inherited from tlm::tlm_extension< tlm_endian_context > | |
virtual | ~tlm_extension () |
Public Attributes | |
sc_dt::uint64 | address |
sc_dt::uint64 | new_address |
unsigned char * | data_ptr |
unsigned char * | byte_enable |
int | length |
int | stream_width |
void(* | from_f )(tlm_generic_payload *txn, unsigned int sizeof_databus) |
int | sizeof_databus |
unsigned char * | new_dbuf |
unsigned char * | new_bebuf |
int | dbuf_size |
int | bebuf_size |
tlm_endian_context * | next |
Additional Inherited Members | |
Static Public Attributes inherited from tlm::tlm_extension< tlm_endian_context > | |
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 &) |
Definition at line 162 of file endian_conv.hh.
|
inline |
Definition at line 165 of file endian_conv.hh.
|
inline |
Definition at line 167 of file endian_conv.hh.
References bebuf_size, dbuf_size, new_bebuf, and new_dbuf.
|
inlinevirtual |
Implements tlm::tlm_extension< tlm_endian_context >.
Definition at line 213 of file endian_conv.hh.
|
inlinevirtual |
Implements tlm::tlm_extension< tlm_endian_context >.
Definition at line 214 of file endian_conv.hh.
|
inline |
Definition at line 201 of file endian_conv.hh.
References bebuf_size, len, and new_bebuf.
Referenced by tlm::tlm_to_hostendian_aligned(), tlm::tlm_to_hostendian_generic(), and tlm::tlm_to_hostendian_word().
|
inline |
Definition at line 190 of file endian_conv.hh.
References dbuf_size, len, and new_dbuf.
Referenced by tlm::tlm_to_hostendian_aligned(), tlm::tlm_to_hostendian_generic(), and tlm::tlm_to_hostendian_word().
|
inlinevirtual |
Reimplemented from tlm::tlm_extension_base.
Definition at line 212 of file endian_conv.hh.
References tlm::global_tlm_endian_context_pool, and tlm::tlm_endian_context_pool::push().
sc_dt::uint64 tlm::tlm_endian_context::address |
Definition at line 174 of file endian_conv.hh.
Referenced by tlm::tlm_from_hostendian_generic(), tlm::tlm_from_hostendian_word(), tlm::tlm_to_hostendian_generic(), and tlm::tlm_to_hostendian_word().
int tlm::tlm_endian_context::bebuf_size |
Definition at line 187 of file endian_conv.hh.
Referenced by establish_bebuf(), and ~tlm_endian_context().
unsigned char* tlm::tlm_endian_context::byte_enable |
Definition at line 177 of file endian_conv.hh.
Referenced by tlm::tlm_from_hostendian_word(), and tlm::tlm_to_hostendian_word().
unsigned char* tlm::tlm_endian_context::data_ptr |
Definition at line 176 of file endian_conv.hh.
Referenced by tlm::tlm_from_hostendian_aligned(), tlm::tlm_from_hostendian_generic(), tlm::tlm_from_hostendian_word(), tlm::tlm_to_hostendian_aligned(), tlm::tlm_to_hostendian_generic(), and tlm::tlm_to_hostendian_word().
int tlm::tlm_endian_context::dbuf_size |
Definition at line 187 of file endian_conv.hh.
Referenced by establish_dbuf(), and ~tlm_endian_context().
void(* tlm::tlm_endian_context::from_f) (tlm_generic_payload *txn, unsigned int sizeof_databus) |
Definition at line 182 of file endian_conv.hh.
Referenced by tlm::tlm_from_hostendian(), tlm::tlm_to_hostendian_aligned(), tlm::tlm_to_hostendian_generic(), tlm::tlm_to_hostendian_single(), and tlm::tlm_to_hostendian_word().
int tlm::tlm_endian_context::length |
Definition at line 178 of file endian_conv.hh.
Referenced by tlm::tlm_from_hostendian_word(), and tlm::tlm_to_hostendian_word().
sc_dt::uint64 tlm::tlm_endian_context::new_address |
Definition at line 175 of file endian_conv.hh.
Referenced by tlm::tlm_from_hostendian_generic(), and tlm::tlm_to_hostendian_generic().
unsigned char * tlm::tlm_endian_context::new_bebuf |
Definition at line 186 of file endian_conv.hh.
Referenced by establish_bebuf(), tlm::tlm_to_hostendian_aligned(), tlm::tlm_to_hostendian_generic(), tlm::tlm_to_hostendian_word(), and ~tlm_endian_context().
unsigned char* tlm::tlm_endian_context::new_dbuf |
Definition at line 186 of file endian_conv.hh.
Referenced by establish_dbuf(), tlm::tlm_to_hostendian_aligned(), tlm::tlm_to_hostendian_generic(), tlm::tlm_to_hostendian_word(), and ~tlm_endian_context().
tlm_endian_context* tlm::tlm_endian_context::next |
Definition at line 217 of file endian_conv.hh.
Referenced by tlm::tlm_endian_context_pool::pop(), and tlm::tlm_endian_context_pool::~tlm_endian_context_pool().
int tlm::tlm_endian_context::sizeof_databus |
Definition at line 183 of file endian_conv.hh.
Referenced by tlm::tlm_from_hostendian(), tlm::tlm_to_hostendian_aligned(), tlm::tlm_to_hostendian_generic(), tlm::tlm_to_hostendian_single(), and tlm::tlm_to_hostendian_word().
int tlm::tlm_endian_context::stream_width |
Definition at line 179 of file endian_conv.hh.
Referenced by tlm::tlm_from_hostendian_generic(), and tlm::tlm_to_hostendian_generic().