Re: [Qemu-devel] [PATCH v6 02/13] register: Add Register API

2016-06-13 Thread Alistair Francis
On Thu, Jun 9, 2016 at 11:55 AM, Peter Maydell wrote: > On 12 May 2016 at 23:45, Alistair Francis wrote: >> This API provides some encapsulation of registers and factors our some > > "out" > >> common functionality to common code. Bits of device state (usually MMIO >> registers), often have all s

Re: [Qemu-devel] [PATCH v6 02/13] register: Add Register API

2016-06-09 Thread Peter Maydell
On 12 May 2016 at 23:45, Alistair Francis wrote: > This API provides some encapsulation of registers and factors our some "out" > common functionality to common code. Bits of device state (usually MMIO > registers), often have all sorts of access restrictions and semantics spurious comma > ass

[Qemu-devel] [PATCH v6 02/13] register: Add Register API

2016-05-12 Thread Alistair Francis
This API provides some encapsulation of registers and factors our some common functionality to common code. Bits of device state (usually MMIO registers), often have all sorts of access restrictions and semantics associated with them. This API allow you to define what those restrictions are on a bi