Re: [Qemu-devel] [PATCH v6 09/13] qdev: Define qdev_get_gpio_out

2016-06-21 Thread Alistair Francis
On Fri, Jun 10, 2016 at 4:48 AM, Peter Maydell wrote: > On 12 May 2016 at 23:46, Alistair Francis wrote: >> From: Peter Crosthwaite >> >> An API similar to the existing qdev_get_gpio_in() except gets outputs.

Re: [Qemu-devel] [PATCH v6 09/13] qdev: Define qdev_get_gpio_out

2016-06-10 Thread Peter Maydell
On 12 May 2016 at 23:46, Alistair Francis wrote: > From: Peter Crosthwaite > > An API similar to the existing qdev_get_gpio_in() except gets outputs. > Useful for: > > 1: Implementing lightweight devices that don't want to keep pointers

[Qemu-devel] [PATCH v6 09/13] qdev: Define qdev_get_gpio_out

2016-05-12 Thread Alistair Francis
From: Peter Crosthwaite An API similar to the existing qdev_get_gpio_in() except gets outputs. Useful for: 1: Implementing lightweight devices that don't want to keep pointers to their own GPIOs. They can get their GPIO pointers at runtime from QOM using this API.