SouthBridge.py (8714:cd48e2802644) SouthBridge.py (8839:eeb293859255)
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

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

97 sink=self.io_apic.pin(1)),
98 X86IntLine(source=self.keyboard.mouse_int_pin,
99 sink=self.io_apic.pin(12))]
100 # Tell the devices about each other
101 self.pic1.slave = self.pic2
102 self.speaker.i8254 = self.pit
103 self.io_apic.external_int_pic = self.pic1
104 # Connect to the bus
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

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

97 sink=self.io_apic.pin(1)),
98 X86IntLine(source=self.keyboard.mouse_int_pin,
99 sink=self.io_apic.pin(12))]
100 # Tell the devices about each other
101 self.pic1.slave = self.pic2
102 self.speaker.i8254 = self.pit
103 self.io_apic.external_int_pic = self.pic1
104 # Connect to the bus
105 self.cmos.pio = bus.port
106 self.dma1.pio = bus.port
107 self.ide.pio = bus.port
108 self.ide.config = bus.port
109 self.ide.dma = bus.port
110 self.keyboard.pio = bus.port
111 self.pic1.pio = bus.port
112 self.pic2.pio = bus.port
113 self.pit.pio = bus.port
114 self.speaker.pio = bus.port
115 self.io_apic.pio = bus.port
116 self.io_apic.int_port = bus.port
105 self.cmos.pio = bus.master
106 self.dma1.pio = bus.master
107 self.ide.pio = bus.master
108 self.ide.config = bus.master
109 self.ide.dma = bus.slave
110 self.keyboard.pio = bus.master
111 self.pic1.pio = bus.master
112 self.pic2.pio = bus.master
113 self.pit.pio = bus.master
114 self.speaker.pio = bus.master
115 self.io_apic.pio = bus.master
116 self.io_apic.int_master = bus.slave