qemu/hw/dma
Peter Maydell 7648673636 hw/dma/omap_dma: Fix bugs with DMA requests above 32
The drqbmp field of struct soc_dma_s is a uint64_t; however several
places in the code attempt to set bits in it using "(1 << drq)",
which will fail if drq is large enough that the 1 bit gets shifted
off the top of a 32 bit integer.  Change these to "(1ULL << drq)" so
that the promotion to 64 bit happens before the shift rather than
afterwards.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1372423919-5669-1-git-send-email-peter.maydell@linaro.org
2013-07-15 16:17:44 +01:00
..
etraxfs_dma.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
i8257.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
i82374.c piolist: add owner argument to initialization functions and pass devices 2013-07-04 17:42:47 +02:00
Makefile.objs hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
omap_dma.c hw/dma/omap_dma: Fix bugs with DMA requests above 32 2013-07-15 16:17:44 +01:00
pl080.c hw/d*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
pl330.c hw/d*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
puv3_dma.c hw/d*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
pxa2xx_dma.c hw/d*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
rc4030.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
soc_dma.c hw: move DMA controllers to hw/dma/, configure with default-configs/ 2013-04-08 18:13:14 +02:00
sparc32_dma.c hw/d*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
sun4m_iommu.c hw/d*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00
xilinx_axidma.c hw/d*: pass owner to memory_region_init* functions 2013-07-04 17:42:47 +02:00