From 48b40cff650cb071b189826af2f2e1f78434f49b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 9 Oct 2011 04:44:02 -0700 Subject: Interrupts: Make the IO APIC go get the local APICs. This is so they don't have to declare themselves to the IO APIC and don't have to have a pointer to the platform object. --- src/arch/x86/interrupts.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/arch/x86/interrupts.cc') diff --git a/src/arch/x86/interrupts.cc b/src/arch/x86/interrupts.cc index 55b5bdca9..38b966dbe 100644 --- a/src/arch/x86/interrupts.cc +++ b/src/arch/x86/interrupts.cc @@ -304,11 +304,6 @@ X86ISA::Interrupts::init() // BasicPioDevice::init(); IntDev::init(); -#if FULL_SYSTEM - Pc * pc = dynamic_cast(platform); - assert(pc); - pc->southBridge->ioApic->registerLocalApic(initialApicId, this); -#endif } @@ -616,9 +611,6 @@ X86ISA::Interrupts::Interrupts(Params * p) : pendingStartup(false), startupVector(0), startedUp(false), pendingUnmaskableInt(false), pendingIPIs(0), cpu(NULL) -#if FULL_SYSTEM - , platform(p->platform) -#endif { pioSize = PageBytes; memset(regs, 0, sizeof(regs)); -- cgit v1.2.3