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 OBJECT_DECLARE_SIMPLE_TYPE(BCM2835DMAState
, BCM2835_DMA
)
31 #define BCM2835_DMA_NCHANS 16
33 struct BCM2835DMAState
{
38 MemoryRegion iomem0
, iomem15
;
42 BCM2835DMAChan chan
[BCM2835_DMA_NCHANS
];