tlb.hh (8299:64a938a8b7fc) tlb.hh (8527:6bac5b04d588)
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
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 bool bootUncacheability;
132
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
133 public:
134 typedef ArmTLBParams Params;
135 TLB(const Params *p);
136
137 virtual ~TLB();
138 int getsize() const { return size; }
139
140 void insert(Addr vaddr, TlbEntry &pte);

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

159 void flushMva(Addr mva);
160
161 Fault trickBoxCheck(RequestPtr req, Mode mode, uint8_t domain, bool sNp);
162 Fault walkTrickBoxCheck(Addr pa, Addr va, Addr sz, bool is_exec,
163 bool is_write, uint8_t domain, bool sNp);
164
165 void printTlb();
166
167 void allCpusCaching() { bootUncacheability = true; }
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 ---
168 void demapPage(Addr vaddr, uint64_t asn)
169 {
170 flushMvaAsid(vaddr, asn);
171 }
172
173 static bool validVirtualAddress(Addr vaddr);
174
175 /**

--- 77 unchanged lines hidden ---