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/PC.py | |
parent | cf9afbba510ceac86e011a4b37ec848cd7f7a6ed (diff) | |
download | gem5-8c532d629732e93fa23a38328b653eb4c2314936.tar.xz |
X86: Hook the CMOS device to the I8259 PICs.
Diffstat (limited to 'src/dev/x86/PC.py')
-rw-r--r-- | src/dev/x86/PC.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dev/x86/PC.py b/src/dev/x86/PC.py index d0516ec13..d3d3118c6 100644 --- a/src/dev/x86/PC.py +++ b/src/dev/x86/PC.py @@ -49,9 +49,9 @@ class PC(Platform): pciconfig = PciConfigAll() south_bridge = SouthBridge() - cmos = Cmos(pio_addr=x86IOAddress(0x70)) - pic1 = I8259(pio_addr=x86IOAddress(0x20), master=True) - pic2 = I8259(pio_addr=x86IOAddress(0xA0), master=False) + pic1 = I8259(pio_addr=x86IOAddress(0x20)) + pic2 = I8259(pio_addr=x86IOAddress(0xA0), master=pic1) + cmos = Cmos(pio_addr=x86IOAddress(0x70), i8259=pic2) # "Non-existant" port used for timing purposes by the linux kernel i_dont_exist = IsaFake(pio_addr=x86IOAddress(0x80), pio_size=1) |