gem5 v24.0.0.0
Loading...
Searching...
No Matches
tlm::tlm_endian_context Class Reference

#include <endian_conv.hh>

Inheritance diagram for tlm::tlm_endian_context:
tlm::tlm_extension< tlm_endian_context > tlm::tlm_extension_base

Public Member Functions

 tlm_endian_context ()
 
 ~tlm_endian_context ()
 
void establish_dbuf (int len)
 
void establish_bebuf (int len)
 
void free ()
 
tlm_extension_baseclone () 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_contextnext
 

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 &)
 

Detailed Description

Definition at line 162 of file endian_conv.hh.

Constructor & Destructor Documentation

◆ tlm_endian_context()

tlm::tlm_endian_context::tlm_endian_context ( )
inline

Definition at line 165 of file endian_conv.hh.

◆ ~tlm_endian_context()

tlm::tlm_endian_context::~tlm_endian_context ( )
inline

Definition at line 167 of file endian_conv.hh.

References bebuf_size, dbuf_size, new_bebuf, and new_dbuf.

Member Function Documentation

◆ clone()

tlm_extension_base * tlm::tlm_endian_context::clone ( ) const
inlinevirtual

Implements tlm::tlm_extension< tlm_endian_context >.

Definition at line 213 of file endian_conv.hh.

◆ copy_from()

void tlm::tlm_endian_context::copy_from ( tlm_extension_base const & )
inlinevirtual

Implements tlm::tlm_extension< tlm_endian_context >.

Definition at line 214 of file endian_conv.hh.

◆ establish_bebuf()

void tlm::tlm_endian_context::establish_bebuf ( int len)
inline

◆ establish_dbuf()

void tlm::tlm_endian_context::establish_dbuf ( int len)
inline

◆ free()

void tlm::tlm_endian_context::free ( )
inlinevirtual

Member Data Documentation

◆ address

◆ bebuf_size

int tlm::tlm_endian_context::bebuf_size

Definition at line 187 of file endian_conv.hh.

Referenced by establish_bebuf(), and ~tlm_endian_context().

◆ byte_enable

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().

◆ data_ptr

◆ dbuf_size

int tlm::tlm_endian_context::dbuf_size

Definition at line 187 of file endian_conv.hh.

Referenced by establish_dbuf(), and ~tlm_endian_context().

◆ from_f

◆ length

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().

◆ new_address

sc_dt::uint64 tlm::tlm_endian_context::new_address

◆ new_bebuf

unsigned char * tlm::tlm_endian_context::new_bebuf

◆ new_dbuf

unsigned char* tlm::tlm_endian_context::new_dbuf

◆ next

tlm_endian_context* tlm::tlm_endian_context::next

◆ sizeof_databus

◆ stream_width

int tlm::tlm_endian_context::stream_width

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

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