From: Korey Sewell Date: Mon, 20 Jun 2011 01:43:35 +0000 (-0400) Subject: sparc: init. cache state in TLB X-Git-Tag: stable_2012_02_02~251 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5d4e47f76ec254b89c6b884f5fcbf340d4fed49;p=gem5.git 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 --- diff --git a/src/arch/sparc/tlb.cc b/src/arch/sparc/tlb.cc index 00ec4e411..ddc37cf3b 100644 --- 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) + cacheState(0), cacheValid(false) { // To make this work you'll have to change the hypervisor and OS if (size > 64)