Re: [Qemu-devel] [PATCH v6 06/13] register: Add block initialise helper

2016-06-21 Thread Alistair Francis
On Tue, Jun 21, 2016 at 12:45 PM, Peter Maydell wrote: > On 21 June 2016 at 19:25, Alistair Francis > wrote: >> On Fri, Jun 10, 2016 at 4:02 AM, Peter Maydell >> wrote: +/** + * Init a block of consecutive registers into a container MemoryRegion. A + * number of constant registe

Re: [Qemu-devel] [PATCH v6 06/13] register: Add block initialise helper

2016-06-21 Thread Peter Maydell
On 21 June 2016 at 19:25, Alistair Francis wrote: > On Fri, Jun 10, 2016 at 4:02 AM, Peter Maydell > wrote: >>> +/** >>> + * Init a block of consecutive registers into a container MemoryRegion. A >>> + * number of constant register definitions are parsed to create a >>> corresponding >>> + * ar

Re: [Qemu-devel] [PATCH v6 06/13] register: Add block initialise helper

2016-06-21 Thread Alistair Francis
On Fri, Jun 10, 2016 at 4:02 AM, Peter Maydell wrote: > On 12 May 2016 at 23:46, Alistair Francis wrote: >> From: Peter Crosthwaite >> >> Add a helper that will scan a static RegisterAccessInfo Array >> and populate a container MemoryRegion with registers as defined. >> >> Signed-off-by: Peter C

Re: [Qemu-devel] [PATCH v6 06/13] register: Add block initialise helper

2016-06-10 Thread Peter Maydell
On 12 May 2016 at 23:46, Alistair Francis wrote: > From: Peter Crosthwaite > > Add a helper that will scan a static RegisterAccessInfo Array > and populate a container MemoryRegion with registers as defined. > > Signed-off-by: Peter Crosthwaite > Signed-off-by: Alistair Francis > --- > The reas

[Qemu-devel] [PATCH v6 06/13] register: Add block initialise helper

2016-05-12 Thread Alistair Francis
From: Peter Crosthwaite Add a helper that will scan a static RegisterAccessInfo Array and populate a container MemoryRegion with registers as defined. Signed-off-by: Peter Crosthwaite Signed-off-by: Alistair Francis --- The reason that I'm not using GArray is because the array needs to store t