From: Gabe Black Date: Tue, 1 Nov 2011 11:01:15 +0000 (-0700) Subject: SE/FS: Get rid of the last use of FULL_SYSTEM in x86. X-Git-Tag: stable_2012_06_28~292 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b417d4188c4978ecdeddd04a0b53f60b96d22e1;p=gem5.git SE/FS: Get rid of the last use of FULL_SYSTEM in x86. --- 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(); }