tlb.hh (12419:8a3f230e9c37) | tlb.hh (12605:16476b32138d) |
---|---|
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 --- 431 unchanged lines hidden (view full) --- 440 public: /* Testing */ 441 Fault testTranslation(RequestPtr req, Mode mode, 442 TlbEntry::DomainType domain); 443 Fault testWalk(Addr pa, Addr size, Addr va, bool is_secure, Mode mode, 444 TlbEntry::DomainType domain, 445 LookupLevel lookup_level); 446}; 447 | 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 --- 431 unchanged lines hidden (view full) --- 440 public: /* Testing */ 441 Fault testTranslation(RequestPtr req, Mode mode, 442 TlbEntry::DomainType domain); 443 Fault testWalk(Addr pa, Addr size, Addr va, bool is_secure, Mode mode, 444 TlbEntry::DomainType domain, 445 LookupLevel lookup_level); 446}; 447 |
448template<typename T> 449TLB * 450getITBPtr(T *tc) 451{ 452 auto tlb = static_cast<TLB *>(tc->getITBPtr()); 453 assert(tlb); 454 return tlb; 455} 456 457template<typename T> 458TLB * 459getDTBPtr(T *tc) 460{ 461 auto tlb = static_cast<TLB *>(tc->getDTBPtr()); 462 assert(tlb); 463 return tlb; 464} 465 |
|
448} // namespace ArmISA 449 450#endif // __ARCH_ARM_TLB_HH__ | 466} // namespace ArmISA 467 468#endif // __ARCH_ARM_TLB_HH__ |