diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-05-26 13:48:35 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-05-26 13:48:35 -0400 |
commit | da6a7b1263cf624790f06a5f944366fb113dffc8 (patch) | |
tree | 16110f2f8efa8b98a42d3b85c43a3a7b8ae1f1ce /src/sim | |
parent | cf826ae296a4277bdf2ce46e4484295efde5a3c2 (diff) | |
download | gem5-da6a7b1263cf624790f06a5f944366fb113dffc8.tar.xz |
Add names to memory Port objects for tracing.
--HG--
extra : convert_revision : ddf30084e343e8656e4812ab20356292b35507ee
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/process.cc | 2 | ||||
-rw-r--r-- | src/sim/system.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc index 1261b8436..1da525093 100644 --- a/src/sim/process.cc +++ b/src/sim/process.cc @@ -154,7 +154,7 @@ Process::startup() Port *mem_port; mem_port = system->physmem->getPort("functional"); - initVirtMem = new TranslatingPort(pTable, true); + initVirtMem = new TranslatingPort("process init port", pTable, true); mem_port->setPeer(initVirtMem); initVirtMem->setPeer(mem_port); } diff --git a/src/sim/system.cc b/src/sim/system.cc index ca9d68d77..89f39491e 100644 --- a/src/sim/system.cc +++ b/src/sim/system.cc @@ -25,6 +25,8 @@ System::System(Params *p) : SimObject(p->name), physmem(p->physmem), numcpus(0), #if FULL_SYSTEM init_param(p->init_param), + functionalPort(p->name + "-fport"), + virtPort(p->name + "-vport"), #else page_ptr(0), #endif |