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 |
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; } |
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 --- |