summaryrefslogtreecommitdiff
path: root/src/dev/x86/cmos.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-11 01:31:32 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-11 01:31:32 -0700
commit8c532d629732e93fa23a38328b653eb4c2314936 (patch)
tree99b731ecb4beba3f6db44f54c24bcb50041baf20 /src/dev/x86/cmos.cc
parentcf9afbba510ceac86e011a4b37ec848cd7f7a6ed (diff)
downloadgem5-8c532d629732e93fa23a38328b653eb4c2314936.tar.xz
X86: Hook the CMOS device to the I8259 PICs.
Diffstat (limited to 'src/dev/x86/cmos.cc')
-rw-r--r--src/dev/x86/cmos.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dev/x86/cmos.cc b/src/dev/x86/cmos.cc
index 5bbded260..d4ec58ddb 100644
--- a/src/dev/x86/cmos.cc
+++ b/src/dev/x86/cmos.cc
@@ -29,8 +29,15 @@
*/
#include "dev/x86/cmos.hh"
+#include "dev/x86/i8259.hh"
#include "mem/packet_access.hh"
+void
+X86ISA::Cmos::X86RTC::handleEvent()
+{
+ i8259->signalInterrupt(intLine);
+}
+
Tick
X86ISA::Cmos::read(PacketPtr pkt)
{