SouthBridge.py (5842:1349786dd9a7) SouthBridge.py (5843:a2c317cefcf8)
1# Copyright (c) 2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 73 unchanged lines hidden (view full) ---

82 ide.BAR1LegacyIO = True
83 ide.BAR2 = 0x170
84 ide.BAR2LegacyIO = True
85 ide.BAR3 = 0x374
86 ide.BAR3Size = '3B'
87 ide.BAR3LegacyIO = True
88 ide.BAR4 = 1
89 ide.Command = 1
1# Copyright (c) 2008 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 73 unchanged lines hidden (view full) ---

82 ide.BAR1LegacyIO = True
83 ide.BAR2 = 0x170
84 ide.BAR2LegacyIO = True
85 ide.BAR3 = 0x374
86 ide.BAR3Size = '3B'
87 ide.BAR3LegacyIO = True
88 ide.BAR4 = 1
89 ide.Command = 1
90 ide.InterruptLine = 20
90 ide.InterruptLine = 14
91 ide.InterruptPin = 1
91
92 def attachIO(self, bus):
93 # Route interupt signals
94 self.connectPins(self.pic1.output, self.io_apic.pin(0))
95 self.connectPins(self.pic2.output, self.pic1.pin(2))
96 self.connectPins(self.cmos.int_pin, self.pic2.pin(0))
97 self.connectPins(self.pit.int_pin, self.pic1.pin(0))
98 self.connectPins(self.pit.int_pin, self.io_apic.pin(2))

--- 23 unchanged lines hidden ---
92
93 def attachIO(self, bus):
94 # Route interupt signals
95 self.connectPins(self.pic1.output, self.io_apic.pin(0))
96 self.connectPins(self.pic2.output, self.pic1.pin(2))
97 self.connectPins(self.cmos.int_pin, self.pic2.pin(0))
98 self.connectPins(self.pit.int_pin, self.pic1.pin(0))
99 self.connectPins(self.pit.int_pin, self.io_apic.pin(2))

--- 23 unchanged lines hidden ---