gem5  v21.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
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 116 of file base.hh.

Constructor & Destructor Documentation

◆ DataUpdate()

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

Definition at line 127 of file base.hh.

Member Data Documentation

◆ addr

Addr BaseCache::DataUpdate::addr

The updated block's address.

Definition at line 119 of file base.hh.

◆ isSecure

bool BaseCache::DataUpdate::isSecure

Whether the block belongs to the secure address space.

Definition at line 121 of file base.hh.

◆ newData

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

The new data contents.

If zero-sized this is an invalidation.

Definition at line 125 of file base.hh.

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

◆ oldData

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

The stale data contents.

If zero-sized this update is a fill.

Definition at line 123 of file base.hh.

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


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

Generated on Tue Mar 23 2021 19:41:33 for gem5 by doxygen 1.8.17