summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-06-08 17:02:48 -0400
committerKevin Lim <ktlim@umich.edu>2006-06-08 17:02:48 -0400
commit1ef5585feeed641b20d0fbf4fe89ec6b1daaced5 (patch)
treea84da14eea469b8221e2a5137609fb9a62e79e82 /src
parentcf79dba504e2ed47ea82dae6cfc71662d1bc25a0 (diff)
downloadgem5-1ef5585feeed641b20d0fbf4fe89ec6b1daaced5.tar.xz
Creation of translating port pushed off to CPU.
--HG-- extra : convert_revision : 842556970ff6f0660e8bef13819a3ddfc048d8c8
Diffstat (limited to 'src')
-rw-r--r--src/cpu/thread_state.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cpu/thread_state.cc b/src/cpu/thread_state.cc
index 47acbc4e9..9525861e5 100644
--- a/src/cpu/thread_state.cc
+++ b/src/cpu/thread_state.cc
@@ -45,16 +45,6 @@ ThreadState::ThreadState(int _cpuId, int _tid, MemObject *mem,
funcExeInst(0), storeCondFailures(0)
#endif
{
-#if !FULL_SYSTEM
- /* Use this port to for syscall emulation writes to memory. */
- Port *mem_port;
- port = new TranslatingPort(csprintf("%d-funcport",
- tid),
- process->pTable, false);
- mem_port = mem->getPort("functional");
- mem_port->setPeer(port);
- port->setPeer(mem_port);
-#endif
}
#if FULL_SYSTEM