summaryrefslogtreecommitdiff
path: root/src/dev/x86/i82094aa.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/x86/i82094aa.hh')
-rw-r--r--src/dev/x86/i82094aa.hh11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/dev/x86/i82094aa.hh b/src/dev/x86/i82094aa.hh
index 6c874a5f9..6a8873d45 100644
--- a/src/dev/x86/i82094aa.hh
+++ b/src/dev/x86/i82094aa.hh
@@ -40,6 +40,8 @@
namespace X86ISA
{
+class I8259;
+
class I82094AA : public PioDevice, public IntDev
{
public:
@@ -60,10 +62,11 @@ class I82094AA : public PioDevice, public IntDev
EndBitUnion(RedirTableEntry)
protected:
- System * system;
Tick latency;
Addr pioAddr;
+ I8259 * extIntPic;
+
uint8_t regSel;
uint8_t id;
uint8_t arbId;
@@ -86,6 +89,12 @@ class I82094AA : public PioDevice, public IntDev
I82094AA(Params *p);
+ void
+ setExtIntPic(I8259 * pic)
+ {
+ extIntPic = pic;
+ }
+
Tick read(PacketPtr pkt);
Tick write(PacketPtr pkt);