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.py | |
parent | cf9afbba510ceac86e011a4b37ec848cd7f7a6ed (diff) | |
download | gem5-8c532d629732e93fa23a38328b653eb4c2314936.tar.xz |
X86: Hook the CMOS device to the I8259 PICs.
Diffstat (limited to 'src/dev/x86/Cmos.py')
-rw-r--r-- | src/dev/x86/Cmos.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dev/x86/Cmos.py b/src/dev/x86/Cmos.py index c786eda36..810432035 100644 --- a/src/dev/x86/Cmos.py +++ b/src/dev/x86/Cmos.py @@ -29,6 +29,7 @@ from m5.params import * from m5.proxy import * from Device import BasicPioDevice +from I8259 import I8259 class Cmos(BasicPioDevice): type = 'Cmos' @@ -36,3 +37,6 @@ 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') |