diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-10-11 01:31:32 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-10-11 01:31:32 -0700 |
commit | 8c532d629732e93fa23a38328b653eb4c2314936 (patch) | |
tree | 99b731ecb4beba3f6db44f54c24bcb50041baf20 /src/dev/x86/cmos.cc | |
parent | cf9afbba510ceac86e011a4b37ec848cd7f7a6ed (diff) | |
download | gem5-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.cc | 7 |
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) { |