diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2008-10-11 01:45:25 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2008-10-11 01:45:25 -0700 |
commit | 539563e04b4925e88c28cb44f5180915c3b3a5be (patch) | |
tree | de3c6c045eff66c6ba6e5f29589bb20c7c3e9ad1 /src/dev/x86/cmos.cc | |
parent | 119e127d7128edfb729101b92ca160c1f01391ca (diff) | |
download | gem5-539563e04b4925e88c28cb44f5180915c3b3a5be.tar.xz |
X86: Make the CMOS and I8259 devices use IntDev and IntPin.
Diffstat (limited to 'src/dev/x86/cmos.cc')
-rw-r--r-- | src/dev/x86/cmos.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dev/x86/cmos.cc b/src/dev/x86/cmos.cc index d4ec58ddb..c88592870 100644 --- a/src/dev/x86/cmos.cc +++ b/src/dev/x86/cmos.cc @@ -29,13 +29,14 @@ */ #include "dev/x86/cmos.hh" -#include "dev/x86/i8259.hh" +#include "dev/x86/intdev.hh" #include "mem/packet_access.hh" void X86ISA::Cmos::X86RTC::handleEvent() { - i8259->signalInterrupt(intLine); + assert(intPin); + intPin->signalInterrupt(); } Tick |