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 --- 91 unchanged lines hidden (view full) --- 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 |