summaryrefslogtreecommitdiff
path: root/src/arch/x86/interrupts.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-10-09 04:44:02 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-10-09 04:44:02 -0700
commit48b40cff650cb071b189826af2f2e1f78434f49b (patch)
treecdd36ce1e5caec2f5846f310801053ea91952c03 /src/arch/x86/interrupts.hh
parentf338d60930e973d330d13715b8617c22b980dcca (diff)
downloadgem5-48b40cff650cb071b189826af2f2e1f78434f49b.tar.xz
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.
Diffstat (limited to 'src/arch/x86/interrupts.hh')
-rw-r--r--src/arch/x86/interrupts.hh7
1 files changed, 3 insertions, 4 deletions
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.
*/