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/ozone | |
parent | c5fbbf376a6be4bb3ad7ddc64841450541c16db6 (diff) | |
download | gem5-a4a7a09e9622d6ad1ca91a4df253b9768c73de90.tar.xz |
Remove delVirtPort() and make getVirtPort() only return cached version.
Diffstat (limited to 'src/cpu/ozone')
-rw-r--r-- | src/cpu/ozone/cpu.hh | 6 | ||||
-rw-r--r-- | src/cpu/ozone/cpu_impl.hh | 10 |
2 files changed, 2 insertions, 14 deletions
diff --git a/src/cpu/ozone/cpu.hh b/src/cpu/ozone/cpu.hh index b0ea2cba9..c3ea33673 100644 --- a/src/cpu/ozone/cpu.hh +++ b/src/cpu/ozone/cpu.hh @@ -134,10 +134,8 @@ class OzoneCPU : public BaseCPU FunctionalPort *getPhysPort() { return thread->getPhysPort(); } - VirtualPort *getVirtPort(ThreadContext *tc = NULL) - { return thread->getVirtPort(tc); } - - void delVirtPort(VirtualPort *vp); + VirtualPort *getVirtPort() + { return thread->getVirtPort(); } #else TranslatingPort *getMemPort() { return thread->getMemPort(); } diff --git a/src/cpu/ozone/cpu_impl.hh b/src/cpu/ozone/cpu_impl.hh index 0c7105382..ec531d571 100644 --- a/src/cpu/ozone/cpu_impl.hh +++ b/src/cpu/ozone/cpu_impl.hh @@ -742,16 +742,6 @@ OzoneCPU<Impl>::OzoneTC::setCpuId(int id) thread->setCpuId(id); } -#if FULL_SYSTEM -template <class Impl> -void -OzoneCPU<Impl>::OzoneTC::delVirtPort(VirtualPort *vp) -{ - vp->removeConn(); - delete vp; -} -#endif - template <class Impl> void OzoneCPU<Impl>::OzoneTC::setStatus(Status new_status) |