diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-11-14 23:42:08 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-11-14 23:42:08 -0500 |
commit | 7c8e4ca3a3b66becbc3e4e7b5e106f5c44b09b6f (patch) | |
tree | d854f10e791d77a66cdf7bccb5e48a7bdef34547 /src | |
parent | af6e4bf96aeb3f13ddf4ed7cbbd340ea2b46e658 (diff) | |
download | gem5-7c8e4ca3a3b66becbc3e4e7b5e106f5c44b09b6f.tar.xz |
Checkpointing: Name SE page table entries better so that there isn't a problem if multiple workloads are being run at once.
--HG--
extra : convert_revision : 3bac9bd7fd93fcadf764e2991c5b029f2c745c08
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/page_table.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mem/page_table.cc b/src/mem/page_table.cc index 6220305b8..54165f293 100644 --- a/src/mem/page_table.cc +++ b/src/mem/page_table.cc @@ -156,7 +156,7 @@ PageTable::serialize(std::ostream &os) PTableItr iter = pTable.begin(); PTableItr end = pTable.end(); while (iter != end) { - os << "\n[" << csprintf("%s.Entry%d", name(), count) << "]\n"; + os << "\n[" << csprintf("%s.Entry%d", process->name(), count) << "]\n"; paramOut(os, "vaddr", iter->first); iter->second.serialize(os); @@ -178,9 +178,9 @@ PageTable::unserialize(Checkpoint *cp, const std::string §ion) pTable.clear(); while(i < count) { - paramIn(cp, csprintf("%s.Entry%d", name(), i), "vaddr", vaddr); + paramIn(cp, csprintf("%s.Entry%d", process->name(), i), "vaddr", vaddr); entry = new TheISA::TlbEntry(); - entry->unserialize(cp, csprintf("%s.Entry%d", name(), i)); + entry->unserialize(cp, csprintf("%s.Entry%d", process->name(), i)); pTable[vaddr] = *entry; ++i; } |