]> Git Repo - qemu.git/commit - hw/qdev.h
qdev: replace bus_type enum with bus_info struct.
authorGerd Hoffmann <[email protected]>
Tue, 30 Jun 2009 12:12:08 +0000 (14:12 +0200)
committerPaul Brook <[email protected]>
Thu, 9 Jul 2009 12:07:03 +0000 (13:07 +0100)
commit10c4c98ab7dc18169b37b76f6ea5e60ebe65222b
tree94b41a4a26b82720cc8695b66cedbcf135d68669
parent0aab0d3a4a62505ab7e79ee0a67fe3f04f6dae23
qdev: replace bus_type enum with bus_info struct.

BusInfo is filled with name and size (pretty much like I did for
DeviceInfo as well).  There is also a function pointer to print
bus-specific device information to the monitor.  sysbus is hooked
up there, I've also added a print function for PCI.

Device creation is slightly modified as well:  The device type search
loop now also checks the bus type while scanning the list instead of
complaining thereafter in case of a mismatch.  This effectively gives
each bus a private namespace for device names.

Signed-off-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Paul Brook <[email protected]>
hw/i2c.c
hw/pci.c
hw/qdev.c
hw/qdev.h
hw/ssi.c
hw/sysbus.c
This page took 0.027794 seconds and 4 git commands to generate.