projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fd999c
)
Alpha: Fix an off by one error with the tlb caching mechanism.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 8 Aug 2007 04:51:12 +0000
(21:51 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 8 Aug 2007 04:51:12 +0000
(21:51 -0700)
--HG--
extra : convert_revision :
e17f7a0d58a2e59b2e270f0827db33d0a29365e0
src/arch/alpha/tlb.hh
patch
|
blob
|
history
diff --git
a/src/arch/alpha/tlb.hh
b/src/arch/alpha/tlb.hh
index 20f0037fdbe010e5abc8dfe10732f5bb4692b1f9..5be7eab59b6fbb9f872b9f4010988d96f48e5ccc 100644
(file)
--- 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