diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
commit | e3875215270220e5142a93848f74ccde9d61b244 (patch) | |
tree | b0b6c47320a35d3b7661f54932229611b4a06150 /src/arch | |
parent | a928a438b8a005e5b6059bc5db0687bf64abcfa6 (diff) | |
download | gem5-e3875215270220e5142a93848f74ccde9d61b244.tar.xz |
syscall_emul: [patch 4/22] remove redundant M5_pid field from process
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/alpha/process.cc | 4 | ||||
-rw-r--r-- | src/arch/sparc/faults.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/alpha/process.cc b/src/arch/alpha/process.cc index 4e9f1e9dd..669f7da80 100644 --- a/src/arch/alpha/process.cc +++ b/src/arch/alpha/process.cc @@ -179,7 +179,7 @@ void AlphaLiveProcess::setupASNReg() { ThreadContext *tc = system->getThreadContext(contextIds[0]); - tc->setMiscRegNoEffect(IPR_DTB_ASN, M5_pid << 57); + tc->setMiscRegNoEffect(IPR_DTB_ASN, _pid << 57); } @@ -187,7 +187,7 @@ void AlphaLiveProcess::loadState(CheckpointIn &cp) { LiveProcess::loadState(cp); - // need to set up ASN after unserialization since M5_pid value may + // need to set up ASN after unserialization since _pid value may // come from checkpoint setupASNReg(); } diff --git a/src/arch/sparc/faults.cc b/src/arch/sparc/faults.cc index c181e3021..27a928f48 100644 --- a/src/arch/sparc/faults.cc +++ b/src/arch/sparc/faults.cc @@ -630,7 +630,7 @@ FastInstructionAccessMMUMiss::invoke(ThreadContext *tc, } else { Addr alignedVaddr = p->pTable->pageAlign(vaddr); tc->getITBPtr()->insert(alignedVaddr, 0 /*partition id*/, - p->M5_pid /*context id*/, false, entry.pte); + p->_pid /*context id*/, false, entry.pte); } } @@ -654,7 +654,7 @@ FastDataAccessMMUMiss::invoke(ThreadContext *tc, const StaticInstPtr &inst) } else { Addr alignedVaddr = p->pTable->pageAlign(vaddr); tc->getDTBPtr()->insert(alignedVaddr, 0 /*partition id*/, - p->M5_pid /*context id*/, false, entry.pte); + p->_pid /*context id*/, false, entry.pte); } } |