From 1ef5585feeed641b20d0fbf4fe89ec6b1daaced5 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Thu, 8 Jun 2006 17:02:48 -0400 Subject: [PATCH] Creation of translating port pushed off to CPU. --HG-- extra : convert_revision : 842556970ff6f0660e8bef13819a3ddfc048d8c8 --- src/cpu/thread_state.cc | 10 ---------- 1 file changed, 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 -- 2.30.2