From 7b417d4188c4978ecdeddd04a0b53f60b96d22e1 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 1 Nov 2011 04:01:15 -0700 Subject: [PATCH] SE/FS: Get rid of the last use of FULL_SYSTEM in x86. --- src/arch/x86/interrupts.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/arch/x86/interrupts.cc b/src/arch/x86/interrupts.cc index 994e9bce4..28f1ac04d 100644 --- a/src/arch/x86/interrupts.cc +++ b/src/arch/x86/interrupts.cc @@ -40,7 +40,6 @@ #include "arch/x86/regs/apic.hh" #include "arch/x86/interrupts.hh" #include "arch/x86/intmessage.hh" -#include "config/full_system.hh" #include "cpu/base.hh" #include "debug/LocalApic.hh" #include "dev/x86/i82094aa.hh" @@ -48,6 +47,7 @@ #include "dev/x86/south_bridge.hh" #include "mem/packet_access.hh" #include "sim/system.hh" +#include "sim/full_system.hh" int divideFromConf(uint32_t conf) @@ -275,9 +275,8 @@ X86ISA::Interrupts::requestInterrupt(uint8_t vector, startupVector = vector; } } -#if FULL_SYSTEM //XXX CPU has no wakeup method in SE mode. - cpu->wakeup(); -#endif + if (FullSystem) + cpu->wakeup(); } -- 2.30.2