tlb.cc (11522:348411ec525a) tlb.cc (11560:f050b8cf4754)
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

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

1418 fatal_if(!ti, "%s is not a valid ARM TLB tester\n", _ti->name());
1419 test = ti;
1420 }
1421}
1422
1423Fault
1424TLB::testTranslation(RequestPtr req, Mode mode, TlbEntry::DomainType domain)
1425{
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

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

1418 fatal_if(!ti, "%s is not a valid ARM TLB tester\n", _ti->name());
1419 test = ti;
1420 }
1421}
1422
1423Fault
1424TLB::testTranslation(RequestPtr req, Mode mode, TlbEntry::DomainType domain)
1425{
1426 if (!test) {
1426 if (!test || !req->hasSize() || req->getSize() == 0) {
1427 return NoFault;
1428 } else {
1429 return test->translationCheck(req, isPriv, mode, domain);
1430 }
1431}
1432
1433Fault
1434TLB::testWalk(Addr pa, Addr size, Addr va, bool is_secure, Mode mode,

--- 16 unchanged lines hidden ---
1427 return NoFault;
1428 } else {
1429 return test->translationCheck(req, isPriv, mode, domain);
1430 }
1431}
1432
1433Fault
1434TLB::testWalk(Addr pa, Addr size, Addr va, bool is_secure, Mode mode,

--- 16 unchanged lines hidden ---