Creation of translating port pushed off to CPU.
--HG-- extra : convert_revision : 842556970ff6f0660e8bef13819a3ddfc048d8c8
This commit is contained in:
parent
cf79dba504
commit
1ef5585fee
1 changed files with 0 additions and 10 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue