On Sun, Aug 1, 2010 at 1:42 PM, Hervé Poussineau <hpous...@reactos.org> wrote: > This series converts devices used by MIPS Magnum emulation to qdev devices. > Once applied, Magnum emulation will be fully creatable by a configuration > file (see attached file) > > usage: > qemu-system-mips64el -M empty -nodefaults -readconfig magnum > -netdev id=nic,type=user > -drive id=disk,format=qcow2,if=none,file=1G.qcow2 > -drive id=cdrom,media=cdrom,format=raw,if=none,file=arccd.iso > -chardev id=serial0,backend=vc > -chardev id=serial1,backend=vc > -chardev id=parallel0,backend=vc > > All feedback is very appreciated.
I appreciate very much your goal to make the devices qdevified. However, the approach is not correct. Instead of adding 'iobase' parameters and using cpu_register_physical_memory() in the device code, you should just use sysbus_mmio_map() at board level. I also don't see much need for a dedicated rc4030 bus. See for example syborg.c for a mostly qdevified board.