diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-03-21 15:54:58 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2016-03-21 15:54:58 +0000 |
commit | 8d8e926b04702e891553198bed99ef55f018d160 (patch) | |
tree | 634e7b854e4d07b2d1865017c767f66ef9260973 /src/arch/arm/table_walker.hh | |
parent | 1ab75c3ee2b330713a09d79709723ab2256d2c0b (diff) | |
download | gem5-8d8e926b04702e891553198bed99ef55f018d160.tar.xz |
arm: Refactor the TLB test interface
Refactor the TLB and page table walker test interface to use a dynamic
registration mechanism. Instead of patching a couple of empty methods
to wire up a TLB tester, this change allows such testers to register
themselves using the setTestInterface() method.
Diffstat (limited to 'src/arch/arm/table_walker.hh')
-rw-r--r-- | src/arch/arm/table_walker.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/arm/table_walker.hh b/src/arch/arm/table_walker.hh index b960c320b..743b8aa93 100644 --- a/src/arch/arm/table_walker.hh +++ b/src/arch/arm/table_walker.hh @@ -966,6 +966,9 @@ class TableWalker : public MemObject void pendingChange(); static uint8_t pageSizeNtoStatBin(uint8_t N); + + Fault testWalk(Addr pa, Addr size, TlbEntry::DomainType domain, + LookupLevel lookup_level); }; } // namespace ArmISA |