summaryrefslogtreecommitdiff
path: root/src/dev/x86/pc.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-01 00:26:10 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-01 00:26:10 -0800
commit70cd5bfce5549495c6e969fa509bfd5f56190e10 (patch)
tree0d5bf42d04a037195dd9ea97b4dfbe3054cdb8d7 /src/dev/x86/pc.cc
parentf1b43b39a764645c8e15b66a1a01d404f03c8307 (diff)
downloadgem5-70cd5bfce5549495c6e969fa509bfd5f56190e10.tar.xz
X86: Configure the first PCI interrupt.
Diffstat (limited to 'src/dev/x86/pc.cc')
-rw-r--r--src/dev/x86/pc.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dev/x86/pc.cc b/src/dev/x86/pc.cc
index 5005bd296..d23474c67 100644
--- a/src/dev/x86/pc.cc
+++ b/src/dev/x86/pc.cc
@@ -101,6 +101,12 @@ Pc::init()
entry.vector = 0x2C;
ioApic.writeReg(0x28, entry.bottomDW);
ioApic.writeReg(0x29, entry.topDW);
+ entry.vector = 0x2E;
+ ioApic.writeReg(0x2C, entry.bottomDW);
+ ioApic.writeReg(0x2D, entry.topDW);
+ entry.vector = 0x30;
+ ioApic.writeReg(0x30, entry.bottomDW);
+ ioApic.writeReg(0x31, entry.topDW);
}
Tick