summaryrefslogtreecommitdiff
path: root/src/dev/x86/i8259.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-12 23:27:08 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-12 23:27:08 -0700
commitbe6055e0f2fc55de9c4fd08815cdb50e3c4af78d (patch)
treee53df60d7f7fd8712d1c089f39513dba37925b90 /src/dev/x86/i8259.hh
parentfb5bb434a9e8471e2d9e7b2a9fa7f61a2a10b6b2 (diff)
downloadgem5-be6055e0f2fc55de9c4fd08815cdb50e3c4af78d.tar.xz
X86: Make auto eoi mode work in the I8259 PIC.
Diffstat (limited to 'src/dev/x86/i8259.hh')
-rw-r--r--src/dev/x86/i8259.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dev/x86/i8259.hh b/src/dev/x86/i8259.hh
index 6f6d3f038..5a2cf72e8 100644
--- a/src/dev/x86/i8259.hh
+++ b/src/dev/x86/i8259.hh
@@ -73,6 +73,9 @@ class I8259 : public BasicPioDevice, public IntDev
bool expectICW4;
int initControlWord;
+ // Whether or not the PIC is in auto EOI mode.
+ bool autoEOI;
+
void requestInterrupt(int line);
void handleEOI(int line);