summaryrefslogtreecommitdiff
path: root/src/sim/system.cc
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:40 -0600
committerBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:40 -0600
commite3875215270220e5142a93848f74ccde9d61b244 (patch)
treeb0b6c47320a35d3b7661f54932229611b4a06150 /src/sim/system.cc
parenta928a438b8a005e5b6059bc5db0687bf64abcfa6 (diff)
downloadgem5-e3875215270220e5142a93848f74ccde9d61b244.tar.xz
syscall_emul: [patch 4/22] remove redundant M5_pid field from process
Diffstat (limited to 'src/sim/system.cc')
-rw-r--r--src/sim/system.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sim/system.cc b/src/sim/system.cc
index c0fb08318..3aba5afcb 100644
--- a/src/sim/system.cc
+++ b/src/sim/system.cc
@@ -90,7 +90,6 @@ System::System(Params *p)
kernel(nullptr),
loadAddrMask(p->load_addr_mask),
loadAddrOffset(p->load_offset),
- nextPID(0),
physmem(name() + ".physmem", p->memories, p->mmap_using_noreserve),
memoryMode(p->mem_mode),
_cacheLineSize(p->cache_line_size),
@@ -371,7 +370,6 @@ System::serialize(CheckpointOut &cp) const
if (FullSystem)
kernelSymtab->serialize("kernel_symtab", cp);
SERIALIZE_SCALAR(pagePtr);
- SERIALIZE_SCALAR(nextPID);
serializeSymtab(cp);
// also serialize the memories in the system
@@ -385,7 +383,6 @@ System::unserialize(CheckpointIn &cp)
if (FullSystem)
kernelSymtab->unserialize("kernel_symtab", cp);
UNSERIALIZE_SCALAR(pagePtr);
- UNSERIALIZE_SCALAR(nextPID);
unserializeSymtab(cp);
// also unserialize the memories in the system