summaryrefslogtreecommitdiff
path: root/src/arch/alpha/tlb.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-07 21:51:12 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-07 21:51:12 -0700
commitef32494e723283c5a0a8c27bcb657a0e9ca9e25c (patch)
tree304cd4c5248c51cdc6e8cff98c6a6625e9b22f61 /src/arch/alpha/tlb.hh
parent0fd999ca403f427ab5278bf69b005ed1ce851876 (diff)
downloadgem5-ef32494e723283c5a0a8c27bcb657a0e9ca9e25c.tar.xz
Alpha: Fix an off by one error with the tlb caching mechanism.
--HG-- extra : convert_revision : e17f7a0d58a2e59b2e270f0827db33d0a29365e0
Diffstat (limited to 'src/arch/alpha/tlb.hh')
-rw-r--r--src/arch/alpha/tlb.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/tlb.hh b/src/arch/alpha/tlb.hh
index 20f0037fd..5be7eab59 100644
--- a/src/arch/alpha/tlb.hh
+++ b/src/arch/alpha/tlb.hh
@@ -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