Creation of translating port pushed off to CPU.

--HG--
extra : convert_revision : 842556970ff6f0660e8bef13819a3ddfc048d8c8
This commit is contained in:
Kevin Lim 2006-06-08 17:02:48 -04:00
parent cf79dba504
commit 1ef5585fee

View file

@ -45,16 +45,6 @@ ThreadState::ThreadState(int _cpuId, int _tid, MemObject *mem,
funcExeInst(0), storeCondFailures(0) funcExeInst(0), storeCondFailures(0)
#endif #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 #if FULL_SYSTEM