projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf79dba
)
Creation of translating port pushed off to CPU.
author
Kevin Lim
<ktlim@umich.edu>
Thu, 8 Jun 2006 21:02:48 +0000
(17:02 -0400)
committer
Kevin 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
patch
|
blob
|
history
diff --git
a/src/cpu/thread_state.cc
b/src/cpu/thread_state.cc
index 47acbc4e9bf6fff739c4b2c5b4764d1acb1de180..9525861e5518134f846fd9a8263ae84be22847da 100644
(file)
--- 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