tlb.hh (11577:a26a328c20eb) tlb.hh (11584:bbd8448f104e)
1/*
2 * Copyright (c) 2010-2013, 2016 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

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

270
271 /** Remove all entries that match the va regardless of asn
272 * @param mva address to flush from cache
273 * @param secure_lookup if the operation affects the secure world
274 * @param hyp if the operation affects hyp mode
275 */
276 void flushMva(Addr mva, bool secure_lookup, bool hyp, uint8_t target_el);
277
1/*
2 * Copyright (c) 2010-2013, 2016 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

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

270
271 /** Remove all entries that match the va regardless of asn
272 * @param mva address to flush from cache
273 * @param secure_lookup if the operation affects the secure world
274 * @param hyp if the operation affects hyp mode
275 */
276 void flushMva(Addr mva, bool secure_lookup, bool hyp, uint8_t target_el);
277
278 /**
279 * Invalidate all entries in the stage 2 TLB that match the given ipa
280 * and the current VMID
281 * @param ipa the address to invalidate
282 * @param secure_lookup if the operation affects the secure world
283 * @param hyp if the operation affects hyp mode
284 */
285 void flushIpaVmid(Addr ipa, bool secure_lookup, bool hyp, uint8_t target_el);
286
287 Fault trickBoxCheck(RequestPtr req, Mode mode, TlbEntry::DomainType domain);
288 Fault walkTrickBoxCheck(Addr pa, bool is_secure, Addr va, Addr sz, bool is_exec,
289 bool is_write, TlbEntry::DomainType domain, LookupLevel lookup_level);
290
278 void printTlb() const;
279
280 void demapPage(Addr vaddr, uint64_t asn) override
281 {
282 // needed for x86 only
283 panic("demapPage() is not implemented.\n");
284 }
285

--- 132 unchanged lines hidden ---
291 void printTlb() const;
292
293 void demapPage(Addr vaddr, uint64_t asn) override
294 {
295 // needed for x86 only
296 panic("demapPage() is not implemented.\n");
297 }
298

--- 132 unchanged lines hidden ---