sparc: init. cache state in TLB
valgrind complains and its a potential source of instability, so go ahead and set it to 0 to start
This commit is contained in:
parent
73cfab8b23
commit
d5d4e47f76
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ namespace SparcISA {
|
|||
|
||||
TLB::TLB(const Params *p)
|
||||
: BaseTLB(p), size(p->size), usedEntries(0), lastReplaced(0),
|
||||
cacheValid(false)
|
||||
cacheState(0), cacheValid(false)
|
||||
{
|
||||
// To make this work you'll have to change the hypervisor and OS
|
||||
if (size > 64)
|
||||
|
|
Loading…
Reference in a new issue