summaryrefslogtreecommitdiff
path: root/src/cpu/simple_thread.cc
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-11-02 13:12:36 -0500
committerKevin Lim <ktlim@umich.edu>2006-11-02 13:12:36 -0500
commit64f8cd12c6a613205196bbe9dbc0fab98c4ca735 (patch)
treef9cb6d1458973ab43d920ef86060194dc86400d5 /src/cpu/simple_thread.cc
parentccaf80cc46fb86639ab5ee166baca08277f5450f (diff)
downloadgem5-64f8cd12c6a613205196bbe9dbc0fab98c4ca735.tar.xz
Remove function that should have been deleted.
src/cpu/simple_thread.cc: This function should have been deleted from an earlier push. src/cpu/simple_thread.hh: Delete this function; it's now in thread_state.hh/.cc. --HG-- extra : convert_revision : f78dcf9c2b388418030d48d0ea4911c8b8b1f5ff
Diffstat (limited to 'src/cpu/simple_thread.cc')
-rw-r--r--src/cpu/simple_thread.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/cpu/simple_thread.cc b/src/cpu/simple_thread.cc
index c89a13eef..28d8bdf62 100644
--- a/src/cpu/simple_thread.cc
+++ b/src/cpu/simple_thread.cc
@@ -323,25 +323,5 @@ SimpleThread::delVirtPort(VirtualPort *vp)
}
}
-#else
-TranslatingPort *
-SimpleThread::getMemPort()
-{
- if (port != NULL)
- return port;
-
- /* Use this port to for syscall emulation writes to memory. */
- Port *dcache_port;
- port = new TranslatingPort(csprintf("%s-%d-funcport",
- cpu->name(), tid),
- process->pTable, false);
- dcache_port = cpu->getPort("dcache_port");
- assert(dcache_port != NULL);
- dcache_port = dcache_port->getPeer();
-// mem_port->setPeer(port);
- port->setPeer(dcache_port);
- return port;
-}
-
#endif