Re: [Qemu-devel] [Qemu-arm] [PATCH 10/16] hw/dma/pl080: Allow use as embedded-struct device

2018-08-10 Thread Peter Maydell
On 10 August 2018 at 06:27, Philippe Mathieu-Daudé wrote: > On 08/10/2018 02:18 AM, Philippe Mathieu-Daudé wrote: >> On 08/09/2018 10:01 AM, Peter Maydell wrote: >>> Create a new include file for the pl081's device struct, >>> type macros, etc, so that it can be instantiated using >>> the "embedde

Re: [Qemu-devel] [Qemu-arm] [PATCH 10/16] hw/dma/pl080: Allow use as embedded-struct device

2018-08-09 Thread Philippe Mathieu-Daudé
On 08/10/2018 02:18 AM, Philippe Mathieu-Daudé wrote: > On 08/09/2018 10:01 AM, Peter Maydell wrote: >> Create a new include file for the pl081's device struct, >> type macros, etc, so that it can be instantiated using >> the "embedded struct" coding style. [...] >> +#ifndef HW_DMA_PL080_H >> +#def

Re: [Qemu-devel] [Qemu-arm] [PATCH 10/16] hw/dma/pl080: Allow use as embedded-struct device

2018-08-09 Thread Philippe Mathieu-Daudé
On 08/09/2018 10:01 AM, Peter Maydell wrote: > Create a new include file for the pl081's device struct, > type macros, etc, so that it can be instantiated using > the "embedded struct" coding style. > > Signed-off-by: Peter Maydell > --- > include/hw/dma/pl080.h | 62