diff options
Diffstat (limited to 'src/mem/ruby')
-rw-r--r-- | src/mem/ruby/slicc_interface/AbstractCacheEntry.cc | 3 | ||||
-rw-r--r-- | src/mem/ruby/system/PerfectCacheMemory.hh | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/mem/ruby/slicc_interface/AbstractCacheEntry.cc b/src/mem/ruby/slicc_interface/AbstractCacheEntry.cc index c0fe6ffd3..d53697c76 100644 --- a/src/mem/ruby/slicc_interface/AbstractCacheEntry.cc +++ b/src/mem/ruby/slicc_interface/AbstractCacheEntry.cc @@ -50,8 +50,7 @@ AbstractCacheEntry::changePermission(AccessPermission new_perm) { m_Permission = new_perm; if ((new_perm == AccessPermission_Invalid) || - (new_perm == AccessPermission_NotPresent) || - (new_perm == AccessPermission_Stale)) { + (new_perm == AccessPermission_NotPresent)) { m_locked = -1; } } diff --git a/src/mem/ruby/system/PerfectCacheMemory.hh b/src/mem/ruby/system/PerfectCacheMemory.hh index b04a64717..772b3d1f9 100644 --- a/src/mem/ruby/system/PerfectCacheMemory.hh +++ b/src/mem/ruby/system/PerfectCacheMemory.hh @@ -149,7 +149,7 @@ inline void PerfectCacheMemory<ENTRY>::allocate(const Address& address) { PerfectCacheLineState<ENTRY> line_state; - line_state.m_permission = AccessPermission_Busy; + line_state.m_permission = AccessPermission_Invalid; line_state.m_entry = ENTRY(); m_map[line_address(address)] = line_state; } |