Re: [Qemu-devel] [PATCH v2 06/16] register: QOMify

2016-01-27 Thread KONRAD Frederic
Le 19/01/2016 23:35, Alistair Francis a écrit : From: Peter Crosthwaite QOMify registers as a child of TYPE_DEVICE. This allows registers to define GPIOs. Define an init helper that will do QOM initialisation as well as setup the r/w fast paths. Signed-off-by: Peter Crosthwaite Signed-off-

[Qemu-devel] [PATCH v2 06/16] register: QOMify

2016-01-19 Thread Alistair Francis
From: Peter Crosthwaite QOMify registers as a child of TYPE_DEVICE. This allows registers to define GPIOs. Define an init helper that will do QOM initialisation as well as setup the r/w fast paths. Signed-off-by: Peter Crosthwaite Signed-off-by: Alistair Francis --- hw/core/register.c|