From: Kevin Lim Date: Thu, 8 Jun 2006 21:02:48 +0000 (-0400) Subject: Creation of translating port pushed off to CPU. X-Git-Tag: m5_2.0_beta1~36^2~96 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ef5585feeed641b20d0fbf4fe89ec6b1daaced5;p=gem5.git Creation of translating port pushed off to CPU. --HG-- extra : convert_revision : 842556970ff6f0660e8bef13819a3ddfc048d8c8 --- 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