2 * Raspberry Pi emulation (c) 2012 Gregory Estrade
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
11 #include "hw/sysbus.h"
12 #include "qom/object.h"
28 #define TYPE_BCM2835_DMA "bcm2835-dma"
29 typedef struct BCM2835DMAState BCM2835DMAState
;
30 DECLARE_INSTANCE_CHECKER(BCM2835DMAState
, BCM2835_DMA
,
33 #define BCM2835_DMA_NCHANS 16
35 struct BCM2835DMAState
{
40 MemoryRegion iomem0
, iomem15
;
44 BCM2835DMAChan chan
[BCM2835_DMA_NCHANS
];