gem5  v20.1.0.0
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
mm Class Reference

#include <mm.h>

Inheritance diagram for mm:
tlm::tlm_mm_interface

Classes

struct  access
 

Public Member Functions

 mm ()
 
virtual ~mm ()
 
gp_tallocate ()
 
void free (gp_t *trans)
 
 mm ()
 
virtual ~mm ()
 
gp_tallocate ()
 
void free (gp_t *trans)
 
- Public Member Functions inherited from tlm::tlm_mm_interface
virtual ~tlm_mm_interface ()
 

Private Types

typedef tlm::tlm_generic_payload gp_t
 
typedef tlm::tlm_generic_payload gp_t
 

Private Attributes

accessfree_list
 
accessempties
 

Detailed Description

Definition at line 8 of file mm.h.

Member Typedef Documentation

◆ gp_t [1/2]

Definition at line 10 of file mm.h.

◆ gp_t [2/2]

Definition at line 10 of file mm.h.

Constructor & Destructor Documentation

◆ mm() [1/2]

mm::mm ( )
inline

Definition at line 13 of file mm.h.

◆ ~mm() [1/2]

virtual mm::~mm ( )
inlinevirtual

Definition at line 15 of file mm.h.

References empties, free_list, mm::access::next, sc_assert, mm::access::trans, and RiscvISA::x.

◆ mm() [2/2]

mm::mm ( )
inline

Definition at line 13 of file mm.h.

◆ ~mm() [2/2]

virtual mm::~mm ( )
inlinevirtual

Definition at line 15 of file mm.h.

References empties, free_list, mm::access::next, sc_assert, mm::access::trans, and RiscvISA::x.

Member Function Documentation

◆ allocate() [1/2]

mm::gp_t * mm::allocate ( )

Definition at line 55 of file mm.h.

References empties, free_list, mm::access::next, and mm::access::trans.

Referenced by sc_gem5::packet2payload().

◆ allocate() [2/2]

gp_t* mm::allocate ( )

◆ free() [1/2]

void mm::free ( gp_t trans)
virtual

Implements tlm::tlm_mm_interface.

◆ free() [2/2]

void mm::free ( gp_t trans)
virtual

Member Data Documentation

◆ empties

access * mm::empties
private

Definition at line 52 of file mm.h.

Referenced by allocate(), free(), and ~mm().

◆ free_list

access * mm::free_list
private

Definition at line 51 of file mm.h.

Referenced by allocate(), free(), and ~mm().


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

Generated on Wed Sep 30 2020 14:02:27 for gem5 by doxygen 1.8.17