summaryrefslogtreecommitdiff
path: root/src/cpu/base.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-08-21 07:03:14 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2015-08-21 07:03:14 -0400
commitae06e9a5c640e376d8997409180e4ac1d57838b2 (patch)
tree15780481e4376184926b1e5f2eb38d0b345f56db /src/cpu/base.cc
parent2f44dada688ace9c24f085a8422b3054c3edb72e (diff)
downloadgem5-ae06e9a5c640e376d8997409180e4ac1d57838b2.tar.xz
cpu: Move invldPid constant from Request to BaseCPU
A more natural home for this constant.
Diffstat (limited to 'src/cpu/base.cc')
-rw-r--r--src/cpu/base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/base.cc b/src/cpu/base.cc
index 0b704c48b..eb5cadfcc 100644
--- a/src/cpu/base.cc
+++ b/src/cpu/base.cc
@@ -127,7 +127,7 @@ BaseCPU::BaseCPU(Params *p, bool is_checker)
: MemObject(p), instCnt(0), _cpuId(p->cpu_id), _socketId(p->socket_id),
_instMasterId(p->system->getMasterId(name() + ".inst")),
_dataMasterId(p->system->getMasterId(name() + ".data")),
- _taskId(ContextSwitchTaskId::Unknown), _pid(Request::invldPid),
+ _taskId(ContextSwitchTaskId::Unknown), _pid(invldPid),
_switchedOut(p->switched_out), _cacheLineSize(p->system->cacheLineSize()),
interrupts(p->interrupts), profileEvent(NULL),
numThreads(p->numThreads), system(p->system),