diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2008-07-01 10:25:07 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2008-07-01 10:25:07 -0400 |
commit | a4a7a09e9622d6ad1ca91a4df253b9768c73de90 (patch) | |
tree | 828d818d5420c123f005a3b4617abc1689628406 /src/cpu/checker | |
parent | c5fbbf376a6be4bb3ad7ddc64841450541c16db6 (diff) | |
download | gem5-a4a7a09e9622d6ad1ca91a4df253b9768c73de90.tar.xz |
Remove delVirtPort() and make getVirtPort() only return cached version.
Diffstat (limited to 'src/cpu/checker')
-rw-r--r-- | src/cpu/checker/thread_context.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cpu/checker/thread_context.hh b/src/cpu/checker/thread_context.hh index 15454c3fe..4ede74c64 100644 --- a/src/cpu/checker/thread_context.hh +++ b/src/cpu/checker/thread_context.hh @@ -98,10 +98,8 @@ class CheckerThreadContext : public ThreadContext FunctionalPort *getPhysPort() { return actualTC->getPhysPort(); } - VirtualPort *getVirtPort(ThreadContext *tc = NULL) + VirtualPort *getVirtPort() { return actualTC->getVirtPort(); } - - void delVirtPort(VirtualPort *vp) { actualTC->delVirtPort(vp); } #else TranslatingPort *getMemPort() { return actualTC->getMemPort(); } |