From 21bfbd422cb9d043f88bd7f5ca9d4c72b97f9f33 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 7 Dec 2010 16:19:57 -0800 Subject: ARM: Support switchover with hardware table walkers --- src/sim/tlb.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sim') 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: -- cgit v1.2.3