gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::BaseCache::DataUpdate Struct Reference

A data contents update is composed of the updated block's address, the old contents, and the new contents. More...

#include <base.hh>

Public Member Functions

 DataUpdate (Addr _addr, bool is_secure)
 

Public Attributes

Addr addr
 The updated block's address. More...
 
bool isSecure
 Whether the block belongs to the secure address space. More...
 
std::vector< uint64_t > oldData
 The stale data contents. More...
 
std::vector< uint64_t > newData
 The new data contents. More...
 

Detailed Description

A data contents update is composed of the updated block's address, the old contents, and the new contents.

See also
ppDataUpdate

Definition at line 124 of file base.hh.

Constructor & Destructor Documentation

◆ DataUpdate()

gem5::BaseCache::DataUpdate::DataUpdate ( Addr  _addr,
bool  is_secure 
)
inline

Definition at line 135 of file base.hh.

Member Data Documentation

◆ addr

Addr gem5::BaseCache::DataUpdate::addr

The updated block's address.

Definition at line 127 of file base.hh.

◆ isSecure

bool gem5::BaseCache::DataUpdate::isSecure

Whether the block belongs to the secure address space.

Definition at line 129 of file base.hh.

◆ newData

std::vector<uint64_t> gem5::BaseCache::DataUpdate::newData

The new data contents.

If zero-sized this is an invalidation.

Definition at line 133 of file base.hh.

Referenced by gem5::BaseCache::cmpAndSwap(), gem5::compression::FrequentValues::probeNotify(), gem5::BaseCache::satisfyRequest(), and gem5::BaseCache::updateBlockData().

◆ oldData

std::vector<uint64_t> gem5::BaseCache::DataUpdate::oldData

The stale data contents.

If zero-sized this update is a fill.

Definition at line 131 of file base.hh.

Referenced by gem5::BaseCache::cmpAndSwap(), gem5::compression::FrequentValues::probeNotify(), gem5::BaseCache::satisfyRequest(), and gem5::BaseCache::updateBlockData().


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

Generated on Tue Sep 21 2021 12:27:19 for gem5 by doxygen 1.8.17