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

2016-03-07 Thread Alistair Francis
On Fri, Feb 26, 2016 at 9:13 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 se

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

2016-02-26 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 v4 02/16] register: Add Register API

2016-02-09 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