gem5
|
#include <AbstractCacheEntry.hh>
Public Member Functions | |
AbstractCacheEntry () | |
virtual | ~AbstractCacheEntry ()=0 |
void | changePermission (AccessPermission new_perm) |
virtual DataBlock & | getDataBlk () |
virtual int & | getNumValidBlocks () |
void | setLocked (int context) |
void | clearLocked () |
bool | isLocked (int context) const |
void | setSetIndex (uint32_t s) |
uint32_t | getSetIndex () const |
void | setWayIndex (uint32_t s) |
uint32_t | getWayIndex () const |
Public Member Functions inherited from AbstractEntry | |
AbstractEntry () | |
virtual | ~AbstractEntry ()=0 |
AccessPermission | getPermission () const |
void | changePermission (AccessPermission new_perm) |
virtual void | print (std::ostream &out) const =0 |
Public Attributes | |
int | validBlocks |
Addr | m_Address |
int | m_locked |
Public Attributes inherited from AbstractEntry | |
AccessPermission | m_Permission |
Private Attributes | |
uint32_t | m_set_index |
uint32_t | m_way_index |
Definition at line 45 of file AbstractCacheEntry.hh.
AbstractCacheEntry::AbstractCacheEntry | ( | ) |
Definition at line 34 of file AbstractCacheEntry.cc.
References m_Address, m_locked, and AbstractEntry::m_Permission.
|
pure virtual |
Definition at line 41 of file AbstractCacheEntry.cc.
void AbstractCacheEntry::changePermission | ( | AccessPermission | new_perm | ) |
Definition at line 46 of file AbstractCacheEntry.cc.
References AbstractEntry::changePermission(), and m_locked.
void AbstractCacheEntry::clearLocked | ( | ) |
Definition at line 63 of file AbstractCacheEntry.cc.
References DPRINTF, m_Address, and m_locked.
Referenced by Sequencer::handleLlsc(), and Sequencer::invalidateSC().
|
inlinevirtual |
Definition at line 56 of file AbstractCacheEntry.hh.
References panic.
Referenced by CacheMemory::testCacheAccess(), and CacheMemory::tryCacheAccess().
|
inlinevirtual |
Definition at line 60 of file AbstractCacheEntry.hh.
References validBlocks.
|
inline |
Definition at line 72 of file AbstractCacheEntry.hh.
References m_set_index.
Referenced by CacheMemory::setMRU().
|
inline |
Definition at line 75 of file AbstractCacheEntry.hh.
References m_way_index.
Referenced by CacheMemory::setMRU().
bool AbstractCacheEntry::isLocked | ( | int | context | ) | const |
Definition at line 70 of file AbstractCacheEntry.cc.
References DPRINTF, m_Address, and m_locked.
Referenced by Sequencer::handleLlsc(), and Sequencer::invalidateSC().
void AbstractCacheEntry::setLocked | ( | int | context | ) |
Definition at line 56 of file AbstractCacheEntry.cc.
References DPRINTF, m_Address, and m_locked.
Referenced by Sequencer::handleLlsc().
|
inline |
Definition at line 71 of file AbstractCacheEntry.hh.
References m_set_index, and ArmISA::s.
Referenced by CacheMemory::allocate().
|
inline |
Definition at line 74 of file AbstractCacheEntry.hh.
References m_way_index, and ArmISA::s.
Referenced by CacheMemory::allocate().
Addr AbstractCacheEntry::m_Address |
Definition at line 78 of file AbstractCacheEntry.hh.
Referenced by AbstractCacheEntry(), CacheMemory::cacheAvail(), clearLocked(), CacheMemory::getAddressAtIdx(), isLocked(), and setLocked().
int AbstractCacheEntry::m_locked |
Definition at line 81 of file AbstractCacheEntry.hh.
Referenced by AbstractCacheEntry(), changePermission(), clearLocked(), isLocked(), and setLocked().
|
private |
Definition at line 85 of file AbstractCacheEntry.hh.
Referenced by getSetIndex(), and setSetIndex().
|
private |
Definition at line 86 of file AbstractCacheEntry.hh.
Referenced by getWayIndex(), and setWayIndex().
int AbstractCacheEntry::validBlocks |
Definition at line 59 of file AbstractCacheEntry.hh.
Referenced by getNumValidBlocks().