gem5 v24.0.0.0
Loading...
Searching...
No Matches
mm Class Reference

#include <mm.h>

Inheritance diagram for mm:
tlm::tlm_mm_interface 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, and mm::access::trans.

◆ 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, and mm::access::trans.

Member Function Documentation

◆ allocate() [1/2]

◆ allocate() [2/2]

gp_t * mm::allocate ( )

◆ free() [1/2]

void mm::free ( gp_t * trans)
virtual

◆ free() [2/2]

void mm::free ( gp_t * trans)
virtual

Implements tlm::tlm_mm_interface.

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 files:

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