summaryrefslogtreecommitdiff
path: root/src/arch/alpha/freebsd
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-10-09 17:47:19 -0700
committerGabe Black <gabeblack@google.com>2019-10-25 22:42:31 +0000
commit7bd57d5a94acbdcb64b4927ea6a673cae18adcc0 (patch)
tree1171079d0af63c62336bc1036e089fff95888e6a /src/arch/alpha/freebsd
parent69930afa9b63c25baab86ff5fbe632fc02ce5369 (diff)
downloadgem5-7bd57d5a94acbdcb64b4927ea6a673cae18adcc0.tar.xz
cpu: Create a PCEventScope class to abstract the scope of PCEvents.
This abstraction will allow scheduling PCEvents for a particular ThreadContext, all contexts on a CPU, all contexts in a system, etc., and delegates scheduling and removing events to each particular scope. Right now the PCEventQueue is the only implementor of the PCEventSCope interface. Change-Id: I8fb62931511136229915c2e19d36aae7ffdec9df Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22099 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/arch/alpha/freebsd')
-rw-r--r--src/arch/alpha/freebsd/system.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/freebsd/system.hh b/src/arch/alpha/freebsd/system.hh
index 48f6238c0..1a8bb9366 100644
--- a/src/arch/alpha/freebsd/system.hh
+++ b/src/arch/alpha/freebsd/system.hh
@@ -42,9 +42,9 @@ class FreebsdAlphaSystem : public AlphaSystem
class SkipCalibrateClocksEvent : public SkipFuncEvent
{
public:
- SkipCalibrateClocksEvent(PCEventQueue *q, const std::string &desc,
+ SkipCalibrateClocksEvent(PCEventScope *s, const std::string &desc,
Addr addr)
- : SkipFuncEvent(q, desc, addr) {}
+ : SkipFuncEvent(s, desc, addr) {}
virtual void process(ThreadContext *tc);
};