summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2016-06-20 15:51:31 +0100
committerNikos Nikoleris <nikos.nikoleris@arm.com>2016-06-20 15:51:31 +0100
commit1fac3a292ad53811fec534d8a3e49cb86a70aeb8 (patch)
treeb0966a28682c5a27a1beb172e14ab9d27d2c12a4 /src
parent0e80ee7778748dff65edacb96fbc9b70b605ea69 (diff)
downloadgem5-1fac3a292ad53811fec534d8a3e49cb86a70aeb8.tar.xz
arm: Mark uninitialized new TLB entries as not valid
Previously when we initialized the TLB we would allocate a number of TLB entries which would be marked as valid. As a result the TLB contained an entry which would be considered a valid entry for the 0 page. Change-Id: I23ace86426a171a4f6200ebeb29ad57c21647036 Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/pagetable.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/pagetable.hh b/src/arch/arm/pagetable.hh
index 6d306d6e0..856e0d545 100644
--- a/src/arch/arm/pagetable.hh
+++ b/src/arch/arm/pagetable.hh
@@ -168,7 +168,7 @@ struct TlbEntry : public Serializable
pfn(0), size(0), vpn(0), attributes(0), lookupLevel(L1), asid(0),
vmid(0), N(0), innerAttrs(0), outerAttrs(0), ap(0), hap(0x3),
domain(DomainType::Client), mtype(MemoryType::StronglyOrdered),
- longDescFormat(false), isHyp(false), global(false), valid(true),
+ longDescFormat(false), isHyp(false), global(false), valid(false),
ns(true), nstid(true), el(0), nonCacheable(false),
shareable(false), outerShareable(false), xn(0), pxn(0)
{