diff options
Diffstat (limited to 'src/cpu/base.hh')
-rw-r--r-- | src/cpu/base.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/base.hh b/src/cpu/base.hh index b96a8adb2..5b03d904f 100644 --- a/src/cpu/base.hh +++ b/src/cpu/base.hh @@ -180,6 +180,9 @@ class BaseCPU : public MemObject public: + // Mask to align PCs to MachInst sized boundaries + static const Addr PCMask = ~((Addr)sizeof(TheISA::MachInst) - 1); + /// Provide access to the tracer pointer Trace::InstTracer * getTracer() { return tracer; } |