gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations
blk.hh File Reference

Definitions of a simple cache block class. More...

#include <list>
#include "base/printable.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  CacheBlkPrintWrapper
 Simple class to provide virtual print() method on cache blocks without allocating a vtable pointer for every single cache block. More...
 
class  CacheBlkVisitor
 Base class for cache block visitor, operating on the cache block base class (later subclassed for the various tag classes). More...
 

Enumerations

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

Detailed Description

Definitions of a simple cache block class.

Definition in file blk.hh.

Enumeration Type Documentation

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

Definition at line 60 of file blk.hh.


Generated on Fri Jun 9 2017 13:03:58 for gem5 by doxygen 1.8.6