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.hh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/arch/x86/interrupts.hh') diff --git a/src/arch/x86/interrupts.hh b/src/arch/x86/interrupts.hh index 46e5e5cad..03b4c97b3 100644 --- a/src/arch/x86/interrupts.hh +++ b/src/arch/x86/interrupts.hh @@ -176,11 +176,10 @@ class Interrupts : public BasicPioDevice, IntDev int initialApicId; -#if FULL_SYSTEM - Platform *platform; -#endif - public: + + int getInitialApicId() { return initialApicId; } + /* * Params stuff. */ -- cgit v1.2.3