summaryrefslogtreecommitdiff
path: root/src/dev/x86/Cmos.py
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-11 01:45:25 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-11 01:45:25 -0700
commit539563e04b4925e88c28cb44f5180915c3b3a5be (patch)
treede3c6c045eff66c6ba6e5f29589bb20c7c3e9ad1 /src/dev/x86/Cmos.py
parent119e127d7128edfb729101b92ca160c1f01391ca (diff)
downloadgem5-539563e04b4925e88c28cb44f5180915c3b3a5be.tar.xz
X86: Make the CMOS and I8259 devices use IntDev and IntPin.
Diffstat (limited to 'src/dev/x86/Cmos.py')
-rw-r--r--src/dev/x86/Cmos.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dev/x86/Cmos.py b/src/dev/x86/Cmos.py
index 810432035..a9910f70d 100644
--- a/src/dev/x86/Cmos.py
+++ b/src/dev/x86/Cmos.py
@@ -29,7 +29,6 @@
from m5.params import *
from m5.proxy import *
from Device import BasicPioDevice
-from I8259 import I8259
class Cmos(BasicPioDevice):
type = 'Cmos'
@@ -37,6 +36,4 @@ class Cmos(BasicPioDevice):
time = Param.Time('01/01/2009',
"System time to use ('Now' for actual time)")
pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks")
- i8259 = Param.I8259('PIC to send RTC alarm interrupts to')
- int_line = Param.Int(0,
- 'PIC relative interrupt line to use for alarm interrupts')
+ int_pin = Param.X86IntPin('Pin to signal RTC alarm interrupts to')