diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-08 17:02:48 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-08 17:02:48 -0400 |
commit | 1ef5585feeed641b20d0fbf4fe89ec6b1daaced5 (patch) | |
tree | a84da14eea469b8221e2a5137609fb9a62e79e82 /src | |
parent | cf79dba504e2ed47ea82dae6cfc71662d1bc25a0 (diff) | |
download | gem5-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.cc | 10 |
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 |