[Qemu-devel] [PATCH] integratorcp: convert control to sysbus

2011-10-19 Thread Benoît Canet
Signed-off-by: Benoit Canet --- hw/integratorcp.c | 20 +--- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 7f79560..7ad68b7 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -393,6 +393,11 @@ static int icp_pi

Re: [Qemu-devel] [PATCH] integratorcp: convert control to sysbus

2011-10-19 Thread Peter Maydell
2011/10/19 Benoît Canet : > Signed-off-by: Benoit Canet Reviewed-by: Peter Maydell Avi -- since this applies on top of the memory region conversions in your queue, do you want to take this patch too? Otherwise I'll just have to hold onto it until you land those... thanks -- PMM

Re: [Qemu-devel] [PATCH] integratorcp: convert control to sysbus

2011-10-19 Thread Peter Maydell
2011/10/19 Benoît Canet : > +static int icp_control_init(SysBusDevice *dev) >  { > -    MemoryRegion *io; > +    icp_control_state *s = FROM_SYSBUS(icp_control_state, dev); > > -    io = (MemoryRegion *)g_malloc0(sizeof(MemoryRegion)); > -    memory_region_init_io(io, &icp_control_ops, NULL, > +  

[Qemu-devel] [PATCH] integratorcp: convert control to sysbus

2011-10-19 Thread Benoît Canet
Signed-off-by: Benoit Canet --- hw/integratorcp.c | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/hw/integratorcp.c b/hw/integratorcp.c index 7f79560..70fedbe 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -393,6 +393,11 @@ static int icp_pic

[Qemu-devel] [PATCH] integratorcp: convert control to sysbus

2011-10-19 Thread Benoît Canet
This patch convert the integratorcp control registers to sysbus. Benoît Canet (1): integratorcp: convert control to sysbus hw/integratorcp.c | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) -- 1.7.5.4