Alpha: Fix an off by one error with the tlb caching mechanism.

--HG--
extra : convert_revision : e17f7a0d58a2e59b2e270f0827db33d0a29365e0
This commit is contained in:
Gabe Black 2007-08-07 21:51:12 -07:00
parent 0fd999ca40
commit ef32494e72

View file

@ -90,8 +90,8 @@ namespace AlphaISA
virtual void unserialize(Checkpoint *cp, const std::string &section);
// 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