projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73cfab8
)
sparc: init. cache state in TLB
author
Korey Sewell
<ksewell@umich.edu>
Mon, 20 Jun 2011 01:43:35 +0000
(21:43 -0400)
committer
Korey Sewell
<ksewell@umich.edu>
Mon, 20 Jun 2011 01:43:35 +0000
(21:43 -0400)
valgrind complains and its a potential source of instability, so go ahead
and set it to 0 to start
src/arch/sparc/tlb.cc
patch
|
blob
|
history
diff --git
a/src/arch/sparc/tlb.cc
b/src/arch/sparc/tlb.cc
index 00ec4e41154d7dbf6d373431662bf40e90633617..ddc37cf3bf6e05be62935afe0a626b79569c4c6b 100644
(file)
--- a/
src/arch/sparc/tlb.cc
+++ b/
src/arch/sparc/tlb.cc
@@
-50,7
+50,7
@@
namespace SparcISA {
TLB::TLB(const Params *p)
: BaseTLB(p), size(p->size), usedEntries(0), lastReplaced(0),
- cacheValid(false)
+ cache
State(0), cache
Valid(false)
{
// To make this work you'll have to change the hypervisor and OS
if (size > 64)