diff options
Diffstat (limited to 'cpu/cpu_exec_context.hh')
-rw-r--r-- | cpu/cpu_exec_context.hh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cpu/cpu_exec_context.hh b/cpu/cpu_exec_context.hh index a40253d4b..f5c57da22 100644 --- a/cpu/cpu_exec_context.hh +++ b/cpu/cpu_exec_context.hh @@ -139,9 +139,9 @@ class CPUExecContext struct EndQuiesceEvent : public Event { /** A pointer to the execution context that is quiesced */ - ExecContext *xc; + CPUExecContext *cpuXC; - EndQuiesceEvent(ExecContext *_xc); + EndQuiesceEvent(CPUExecContext *_cpuXC); /** Event process to occur at interrupt*/ virtual void process(); @@ -151,6 +151,12 @@ class CPUExecContext }; EndQuiesceEvent quiesceEvent; + Event *getQuiesceEvent() { return &quiesceEvent; } + + Tick readLastActivate() { return lastActivate; } + + Tick readLastSuspend() { return lastSuspend; } + #else Process *process; |