mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 22:10:33 +00:00
7648673636
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 |
||
---|---|---|
.. | ||
etraxfs_dma.c | ||
i8257.c | ||
i82374.c | ||
Makefile.objs | ||
omap_dma.c | ||
pl080.c | ||
pl330.c | ||
puv3_dma.c | ||
pxa2xx_dma.c | ||
rc4030.c | ||
soc_dma.c | ||
sparc32_dma.c | ||
sun4m_iommu.c | ||
xilinx_axidma.c |