summaryrefslogtreecommitdiff
path: root/src/cpu/base.hh
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.hh
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.hh')
-rw-r--r--src/cpu/base.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cpu/base.hh b/src/cpu/base.hh
index 660f0278e..3a10841e0 100644
--- a/src/cpu/base.hh
+++ b/src/cpu/base.hh
@@ -263,6 +263,11 @@ class BaseCPU : public MemObject
public:
+
+ /** Invalid or unknown Pid. Possible when operating system is not present
+ * or has not assigned a pid yet */
+ static const uint32_t invldPid = std::numeric_limits<uint32_t>::max();
+
// Mask to align PCs to MachInst sized boundaries
static const Addr PCMask = ~((Addr)sizeof(TheISA::MachInst) - 1);