Alpha: Fix an off by one error with the tlb caching mechanism.
--HG-- extra : convert_revision : e17f7a0d58a2e59b2e270f0827db33d0a29365e0
This commit is contained in:
@@ -90,8 +90,8 @@ namespace AlphaISA
|
||||
virtual void unserialize(Checkpoint *cp, const std::string §ion);
|
||||
|
||||
// Most recently used page table entries
|
||||
PTE *PTECache[2];
|
||||
inline void flushCache() { memset(PTECache, 0, 2 * sizeof(PTE*)); }
|
||||
PTE *PTECache[3];
|
||||
inline void flushCache() { memset(PTECache, 0, 3 * sizeof(PTE*)); }
|
||||
};
|
||||
|
||||
class ITB : public TLB
|
||||
|
||||
Reference in New Issue
Block a user