summaryrefslogtreecommitdiff
path: root/src/cpu/intr_control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intr_control.cc')
-rw-r--r--src/cpu/intr_control.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cpu/intr_control.cc b/src/cpu/intr_control.cc
index 62be4ea19..8f3808889 100644
--- a/src/cpu/intr_control.cc
+++ b/src/cpu/intr_control.cc
@@ -48,27 +48,19 @@ IntrControl::IntrControl(const Params *p)
void
IntrControl::post(int cpu_id, int int_num, int index)
{
-#if FULL_SYSTEM
DPRINTF(IntrControl, "post %d:%d (cpu %d)\n", int_num, index, cpu_id);
std::vector<ThreadContext *> &tcvec = sys->threadContexts;
BaseCPU *cpu = tcvec[cpu_id]->getCpuPtr();
cpu->postInterrupt(int_num, index);
-#else
- panic("Called IntrControl::post in SE mode.\n");
-#endif
}
void
IntrControl::clear(int cpu_id, int int_num, int index)
{
-#if FULL_SYSTEM
DPRINTF(IntrControl, "clear %d:%d (cpu %d)\n", int_num, index, cpu_id);
std::vector<ThreadContext *> &tcvec = sys->threadContexts;
BaseCPU *cpu = tcvec[cpu_id]->getCpuPtr();
cpu->clearInterrupt(int_num, index);
-#else
- panic("Called IntrControl::clear in SE mode.\n");
-#endif
}
IntrControl *