[Qemu-devel] [PATCH v4 07/11] bonito: convert north bridge register mapping to memory API

2011-11-24 Thread Benoît Canet
Signed-off-by: Benoît Canet --- hw/bonito.c | 43 +-- 1 files changed, 21 insertions(+), 22 deletions(-) diff --git a/hw/bonito.c b/hw/bonito.c index fdb8198..ad4fc63 100644 --- a/hw/bonito.c +++ b/hw/bonito.c @@ -201,9 +201,7 @@ typedef struct PCIBonito

Re: [Qemu-devel] [PATCH v4 07/11] bonito: convert north bridge register mapping to memory API

2011-11-24 Thread Avi Kivity
On 11/24/2011 03:43 PM, Peter Maydell wrote: > 2011/11/24 Benoît Canet : > > @@ -690,17 +688,16 @@ static int bonito_pcihost_initfn(SysBusDevice *dev) > > static int bonito_initfn(PCIDevice *dev) > > { > > PCIBonitoState *s = DO_UPCAST(PCIBonitoState, dev, dev); > > +SysBusDevice *sysbus

Re: [Qemu-devel] [PATCH v4 07/11] bonito: convert north bridge register mapping to memory API

2011-11-24 Thread Peter Maydell
2011/11/24 Benoît Canet : > @@ -690,17 +688,16 @@ static int bonito_pcihost_initfn(SysBusDevice *dev) >  static int bonito_initfn(PCIDevice *dev) >  { >     PCIBonitoState *s = DO_UPCAST(PCIBonitoState, dev, dev); > +    SysBusDevice *sysbus = &s->pcihost->busdev; > >     /* Bonito North Bridge, bu