Creation of translating port pushed off to CPU.
authorKevin Lim <ktlim@umich.edu>
Thu, 8 Jun 2006 21:02:48 +0000 (17:02 -0400)
committerKevin Lim <ktlim@umich.edu>
Thu, 8 Jun 2006 21:02:48 +0000 (17:02 -0400)
--HG--
extra : convert_revision : 842556970ff6f0660e8bef13819a3ddfc048d8c8

src/cpu/thread_state.cc

index 47acbc4e9bf6fff739c4b2c5b4764d1acb1de180..9525861e5518134f846fd9a8263ae84be22847da 100644 (file)
@@ -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