gem5 v24.1.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
gem5::tlm::chi::CacheController::Transaction Struct Reference

#include <controller.hh>

Inheritance diagram for gem5::tlm::chi::CacheController::Transaction:
gem5::tlm::chi::CacheController::DatalessTransaction gem5::tlm::chi::CacheController::ReadTransaction gem5::tlm::chi::CacheController::WriteTransaction

Public Types

enum class  Type { READ , WRITE , DATALESS }
 

Public Member Functions

 Transaction (CacheController *parent, ARM::CHI::Payload &_payload, ARM::CHI::Phase &_phase)
 
 ~Transaction ()
 
virtual bool handle (const CHIDataMsg *msg)
 
virtual bool handle (const CHIResponseMsg *msg)
 

Static Public Member Functions

static std::unique_ptr< Transactiongen (CacheController *parent, ARM::CHI::Payload &_payload, ARM::CHI::Phase &_phase)
 

Public Attributes

CacheControllercontroller
 
ARM::CHI::Payload * payload
 
ARM::CHI::Phase phase
 

Detailed Description

Definition at line 119 of file controller.hh.

Member Enumeration Documentation

◆ Type

Enumerator
READ 
WRITE 
DATALESS 

Definition at line 121 of file controller.hh.

Constructor & Destructor Documentation

◆ Transaction()

gem5::tlm::chi::CacheController::Transaction::Transaction ( CacheController parent,
ARM::CHI::Payload &  _payload,
ARM::CHI::Phase &  _phase 
)

Definition at line 371 of file controller.cc.

References payload.

◆ ~Transaction()

gem5::tlm::chi::CacheController::Transaction::~Transaction ( )

Definition at line 379 of file controller.cc.

Member Function Documentation

◆ gen()

std::unique_ptr< CacheController::Transaction > gem5::tlm::chi::CacheController::Transaction::gen ( CacheController parent,
ARM::CHI::Payload &  _payload,
ARM::CHI::Phase &  _phase 
)
static

Definition at line 385 of file controller.cc.

References panic.

Referenced by gem5::tlm::chi::CacheController::sendRequestMsg().

◆ handle() [1/2]

virtual bool gem5::tlm::chi::CacheController::Transaction::handle ( const CHIDataMsg msg)
inlinevirtual

◆ handle() [2/2]

bool gem5::tlm::chi::CacheController::Transaction::handle ( const CHIResponseMsg msg)
virtual

Member Data Documentation

◆ controller

CacheController* gem5::tlm::chi::CacheController::Transaction::controller

Definition at line 145 of file controller.hh.

Referenced by handle().

◆ payload

ARM::CHI::Payload* gem5::tlm::chi::CacheController::Transaction::payload

Definition at line 146 of file controller.hh.

Referenced by handle(), and Transaction().

◆ phase

ARM::CHI::Phase gem5::tlm::chi::CacheController::Transaction::phase

Definition at line 147 of file controller.hh.

Referenced by handle().


The documentation for this struct was generated from the following files:

Generated on Mon Jan 13 2025 04:29:17 for gem5 by doxygen 1.9.8