summaryrefslogtreecommitdiff
path: root/src/kern/system_events.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/kern/system_events.cc')
-rw-r--r--src/kern/system_events.cc19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/kern/system_events.cc b/src/kern/system_events.cc
index 177ce96d1..a6337a2fd 100644
--- a/src/kern/system_events.cc
+++ b/src/kern/system_events.cc
@@ -29,11 +29,9 @@
* Nathan Binkert
*/
-#include "cpu/base.hh"
+#include "base/trace.hh"
#include "cpu/thread_context.hh"
-#include "kern/kernel_stats.hh"
#include "kern/system_events.hh"
-#include "sim/system.hh"
using namespace TheISA;
@@ -47,19 +45,4 @@ SkipFuncEvent::process(ThreadContext *tc)
tc->setPC(newpc);
tc->setNextPC(tc->readPC() + sizeof(TheISA::MachInst));
-/*
- BranchPred *bp = tc->getCpuPtr()->getBranchPred();
- if (bp != NULL) {
- bp->popRAS(tc->getThreadNum());
- }
-*/
-}
-
-void
-IdleStartEvent::process(ThreadContext *tc)
-{
- if (tc->getKernelStats())
- tc->getKernelStats()->setIdleProcess(
- tc->readMiscReg(AlphaISA::IPR_PALtemp23), tc);
- remove();
}