Re: [Qemu-devel] [PATCH v3 02/16] register: Add Register API

2016-02-09 Thread Peter Crosthwaite
On Tue, Feb 9, 2016 at 11:35 AM, Alistair Francis wrote: > On Tue, Feb 9, 2016 at 8:06 AM, Alex Bennée wrote: >> >> Alistair Francis writes: >> >>> This API provides some encapsulation of registers and factors our some >>> common functionality to common code. Bits of device state (usually MMIO >

Re: [Qemu-devel] [PATCH v3 02/16] register: Add Register API

2016-02-09 Thread Alistair Francis
On Tue, Feb 9, 2016 at 8:06 AM, Alex Bennée wrote: > > Alistair Francis writes: > >> 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 sem

Re: [Qemu-devel] [PATCH v3 02/16] register: Add Register API

2016-02-09 Thread Alex Bennée
Alistair Francis writes: > 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

[Qemu-devel] [PATCH v3 02/16] register: Add Register API

2016-01-29 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