Deleted Added
sdiff udiff text old ( 8299:64a938a8b7fc ) new ( 8527:6bac5b04d588 )
full compact
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 114 unchanged lines hidden (view full) ---

123 Stats::Formula writeAccesses;
124 Stats::Formula instAccesses;
125 Stats::Formula hits;
126 Stats::Formula misses;
127 Stats::Formula accesses;
128
129 int rangeMRU; //On lookup, only move entries ahead when outside rangeMRU
130
131 public:
132 typedef ArmTLBParams Params;
133 TLB(const Params *p);
134
135 virtual ~TLB();
136 int getsize() const { return size; }
137
138 void insert(Addr vaddr, TlbEntry &pte);

--- 18 unchanged lines hidden (view full) ---

157 void flushMva(Addr mva);
158
159 Fault trickBoxCheck(RequestPtr req, Mode mode, uint8_t domain, bool sNp);
160 Fault walkTrickBoxCheck(Addr pa, Addr va, Addr sz, bool is_exec,
161 bool is_write, uint8_t domain, bool sNp);
162
163 void printTlb();
164
165 void demapPage(Addr vaddr, uint64_t asn)
166 {
167 flushMvaAsid(vaddr, asn);
168 }
169
170 static bool validVirtualAddress(Addr vaddr);
171
172 /**

--- 77 unchanged lines hidden ---