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:
Korey Sewell 2011-06-19 21:43:35 -04:00
parent 73cfab8b23
commit d5d4e47f76

View file

@ -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)