Re: [PATCH v6 5/9] qdev-clock: introduce an init array to ease the device construction

2019-12-04 Thread Damien Hedde
On 12/2/19 4:13 PM, Peter Maydell wrote: > On Wed, 4 Sep 2019 at 13:56, Damien Hedde wrote: >> >> Introduce a function and macro helpers to setup several clocks >> in a device from a static array description. >> >> An element of the array describes the clock (name and direction) as >> well as t

Re: [PATCH v6 5/9] qdev-clock: introduce an init array to ease the device construction

2019-12-02 Thread Peter Maydell
On Wed, 4 Sep 2019 at 13:56, Damien Hedde wrote: > > Introduce a function and macro helpers to setup several clocks > in a device from a static array description. > > An element of the array describes the clock (name and direction) as > well as the related callback and an optional offset to store

[Qemu-devel] [PATCH v6 5/9] qdev-clock: introduce an init array to ease the device construction

2019-09-04 Thread Damien Hedde
Introduce a function and macro helpers to setup several clocks in a device from a static array description. An element of the array describes the clock (name and direction) as well as the related callback and an optional offset to store the created object pointer in the device state structure. Th

[Qemu-devel] [PATCH v6 5/9] qdev-clock: introduce an init array to ease the device construction

2019-09-04 Thread damien . hedde
From: Damien Hedde Introduce a function and macro helpers to setup several clocks in a device from a static array description. An element of the array describes the clock (name and direction) as well as the related callback and an optional offset to store the created object pointer in the device