gem5
|
#include <PerfectCacheMemory.hh>
Public Member Functions | |
PerfectCacheMemory () | |
bool | isTagPresent (Addr address) const |
bool | cacheAvail (Addr address) const |
void | allocate (Addr address) |
void | deallocate (Addr address) |
Addr | cacheProbe (Addr newAddress) const |
ENTRY * | lookup (Addr address) |
const ENTRY * | lookup (Addr address) const |
AccessPermission | getPermission (Addr address) const |
void | changePermission (Addr address, AccessPermission new_perm) |
void | print (std::ostream &out) const |
Private Member Functions | |
PerfectCacheMemory (const PerfectCacheMemory &obj) | |
PerfectCacheMemory & | operator= (const PerfectCacheMemory &obj) |
Private Attributes | |
std::unordered_map< Addr, PerfectCacheLineState< ENTRY > > | m_map |
Definition at line 53 of file PerfectCacheMemory.hh.
|
inline |
Definition at line 105 of file PerfectCacheMemory.hh.
|
private |
|
inline |
Definition at line 128 of file PerfectCacheMemory.hh.
References PerfectCacheLineState< ENTRY >::m_entry, PerfectCacheLineState< ENTRY >::m_permission, and makeLineAddress().
|
inline |
Definition at line 119 of file PerfectCacheMemory.hh.
|
inline |
Definition at line 147 of file PerfectCacheMemory.hh.
References panic.
|
inline |
Definition at line 178 of file PerfectCacheMemory.hh.
References PerfectCacheLineState< ENTRY >::m_permission, and makeLineAddress().
|
inline |
Definition at line 139 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
inline |
Definition at line 171 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
inline |
Definition at line 112 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
inline |
Definition at line 156 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
inline |
Definition at line 164 of file PerfectCacheMemory.hh.
References makeLineAddress().
|
private |
|
inline |
Definition at line 188 of file PerfectCacheMemory.hh.
|
private |
Definition at line 91 of file PerfectCacheMemory.hh.