Re: [Qemu-devel] [PATCH v4 2/7] raven: implement non-contiguous I/O region

2014-03-19 Thread Andreas Färber
Am 17.03.2014 23:00, schrieb Hervé Poussineau: > +static uint64_t raven_io_read(void *opaque, hwaddr addr, > + unsigned int size) > +{ > +PREPPCIState *s = opaque; > +uint8_t buf[4]; > + > +addr = raven_io_address(s, addr); > +address_space_read(&s->pci_

[Qemu-devel] [PATCH v4 2/7] raven: implement non-contiguous I/O region

2014-03-17 Thread Hervé Poussineau
Remove now duplicated code from prep board. Signed-off-by: Hervé Poussineau --- hw/pci-host/prep.c | 84 ++ hw/ppc/prep.c | 94 ++-- 2 files changed, 87 insertions(+), 91 deletions(-) diff --git