33a34,37
> #if !FULL_SYSTEM
> #include "mem/translating_port.hh"
> #endif
>
54,55c58,59
< ThreadState(int _cpuId, int _tid, FunctionalMemory *_mem)
< : cpuId(_cpuId), tid(_tid), mem(_mem), lastActivate(0), lastSuspend(0),
---
> ThreadState(int _cpuId, int _tid)
> : cpuId(_cpuId), tid(_tid), lastActivate(0), lastSuspend(0),
58c62
< ThreadState(int _cpuId, int _tid, FunctionalMemory *_mem,
---
> ThreadState(int _cpuId, int _tid, MemObject *mem,
60c64
< : cpuId(_cpuId), tid(_tid), mem(_mem), process(_process), asid(_asid)
---
> : cpuId(_cpuId), tid(_tid), process(_process), asid(_asid)
64a69,78
> #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
82,83d95
< FunctionalMemory *mem; // functional storage for process address space
<
95a108,109
> TranslatingPort *port;
>