diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-08-07 21:51:12 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-08-07 21:51:12 -0700 |
commit | ef32494e723283c5a0a8c27bcb657a0e9ca9e25c (patch) | |
tree | 304cd4c5248c51cdc6e8cff98c6a6625e9b22f61 | |
parent | 0fd999ca403f427ab5278bf69b005ed1ce851876 (diff) | |
download | gem5-ef32494e723283c5a0a8c27bcb657a0e9ca9e25c.tar.xz |
Alpha: Fix an off by one error with the tlb caching mechanism.
--HG--
extra : convert_revision : e17f7a0d58a2e59b2e270f0827db33d0a29365e0
-rw-r--r-- | src/arch/alpha/tlb.hh | 4 |
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 §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 |