Am 09.04.2014 01:45, schrieb Peter Crosthwaite:
> Implement named GPIOs on the Device layer. Listifies the existing GPIOs
> stuff using string keys. Legacy un-named GPIOs are preserved by using
> a NULL name string - they are just a single matchable element in the
> name list.
> 
> Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com>
> ---
> 
>  hw/core/qdev.c         | 82 
> ++++++++++++++++++++++++++++++++++++++++++--------
>  include/hw/qdev-core.h | 25 ++++++++++++---
>  qdev-monitor.c         | 14 ++++++---
>  qtest.c                | 15 ++++++---
>  4 files changed, 110 insertions(+), 26 deletions(-)

Please don't roll your own list implementation, use qemu/queue.h.

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Reply via email to