gem5  v20.1.0.0
Classes | Enumerations
cache_blk.hh File Reference
#include <cassert>
#include <cstdint>
#include <iosfwd>
#include <list>
#include <string>
#include "base/printable.hh"
#include "base/types.hh"
#include "mem/cache/replacement_policies/base.hh"
#include "mem/packet.hh"
#include "mem/request.hh"

Go to the source code of this file.

Classes

class  CacheBlk
 A Basic Cache block. More...
 
class  CacheBlk::Lock
 Represents that the indicated thread context has a "lock" on the block, in the LL/SC sense. More...
 
class  TempCacheBlk
 Special instance of CacheBlk for use with tempBlk that deals with its block address regeneration. More...
 
class  CacheBlkPrintWrapper
 Simple class to provide virtual print() method on cache blocks without allocating a vtable pointer for every single cache block. More...
 

Enumerations

enum  CacheBlkStatusBits : unsigned {
  BlkValid = 0x01, BlkWritable = 0x02, BlkReadable = 0x04, BlkDirty = 0x08,
  BlkHWPrefetched = 0x20, BlkSecure = 0x40, BlkCompressed = 0x80
}
 Cache block status bit assignments. More...
 

Detailed Description

Definitions of a simple cache block class.

Definition in file cache_blk.hh.

Enumeration Type Documentation

◆ CacheBlkStatusBits

enum CacheBlkStatusBits : unsigned

Cache block status bit assignments.

Enumerator
BlkValid 

valid, readable

BlkWritable 

write permission

BlkReadable 

read permission (yes, block can be valid but not readable)

BlkDirty 

dirty (modified)

BlkHWPrefetched 

block was a hardware prefetch yet unaccessed

BlkSecure 

block holds data from the secure memory space

BlkCompressed 

block holds compressed data

Definition at line 63 of file cache_blk.hh.


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