diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-12-07 16:19:57 -0800 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-12-07 16:19:57 -0800 |
commit | 21bfbd422cb9d043f88bd7f5ca9d4c72b97f9f33 (patch) | |
tree | 8daca00e0dc933e7442da1eb7a017fe2be8734fe /src/sim/tlb.hh | |
parent | 658849d101c98b6d8c7a06f41ffbe39675848eac (diff) | |
download | gem5-21bfbd422cb9d043f88bd7f5ca9d4c72b97f9f33.tar.xz |
ARM: Support switchover with hardware table walkers
Diffstat (limited to 'src/sim/tlb.hh')
-rw-r--r-- | src/sim/tlb.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sim/tlb.hh b/src/sim/tlb.hh index ddd3127e5..a3e5c22c7 100644 --- a/src/sim/tlb.hh +++ b/src/sim/tlb.hh @@ -38,6 +38,7 @@ class ThreadContext; class Packet; +class Port; class BaseTLB : public SimObject { @@ -52,6 +53,11 @@ class BaseTLB : public SimObject public: virtual void demapPage(Addr vaddr, uint64_t asn) = 0; + /** Get any port that the TLB or hardware table walker needs. + * This is used for migrating port connections during a takeOverFrom() + * call. */ + virtual Port* getPort() { return NULL; } + class Translation { public: |