tlb.cc (11580:afe051c345e9) tlb.cc (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

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

332 te->valid = false;
333 flushedEntries++;
334 }
335 te = lookup(mva, asn, vmid, hyp, secure_lookup, false, ignore_asn,
336 target_el);
337 }
338}
339
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

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

332 te->valid = false;
333 flushedEntries++;
334 }
335 te = lookup(mva, asn, vmid, hyp, secure_lookup, false, ignore_asn,
336 target_el);
337 }
338}
339
340void
341TLB::flushIpaVmid(Addr ipa, bool secure_lookup, bool hyp, uint8_t target_el)
342{
343 assert(!isStage2);
344 stage2Tlb->_flushMva(ipa, 0xbeef, secure_lookup, hyp, true, target_el);
345}
346
340bool
341TLB::checkELMatch(uint8_t target_el, uint8_t tentry_el, bool ignore_el)
342{
343 bool elMatch = true;
344 if (!ignore_el) {
345 if (target_el == 2 || target_el == 3) {
346 elMatch = (tentry_el == target_el);
347 } else {

--- 1171 unchanged lines hidden ---
347bool
348TLB::checkELMatch(uint8_t target_el, uint8_t tentry_el, bool ignore_el)
349{
350 bool elMatch = true;
351 if (!ignore_el) {
352 if (target_el == 2 || target_el == 3) {
353 elMatch = (tentry_el == target_el);
354 } else {

--- 1171 unchanged lines hidden ---