changeset b6d0cab9890a in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=b6d0cab9890a
description:
X86: Add a device to back the non-existant floppy drive controller.
diffstat:
1 file changed, 4 insertions(+)
src/dev/x86/Pc.py | 4 ++++
diffs (21 lines):
diff -r b35d43e2e303 -r b6d0cab9890a src/dev/x86/Pc.py
--- a/src/dev/x86/Pc.py Sun Jan 25 20:33:52 2009 -0800
+++ b/src/dev/x86/Pc.py Sun Jan 25 20:34:17 2009 -0800
@@ -66,6 +66,9 @@
fake_com_3 = IsaFake(pio_addr=x86IOAddress(0x3e8), pio_size=8)
fake_com_4 = IsaFake(pio_addr=x86IOAddress(0x2e8), pio_size=8)
+ # A device to catch accesses to the non-existant floppy controller.
+ fake_floppy = IsaFake(pio_addr=x86IOAddress(0x3f2), pio_size=4)
+
def attachIO(self, bus):
self.south_bridge.attachIO(bus)
self.i_dont_exist.pio = bus.port
@@ -74,6 +77,7 @@
self.fake_com_2.pio = bus.port
self.fake_com_3.pio = bus.port
self.fake_com_4.pio = bus.port
+ self.fake_floppy.pio = bus.port
self.pciconfig.pio = bus.default
bus.responder_set = True
bus.responder = self.pciconfig
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev