]> git.ipfire.org Git - thirdparty/qemu.git/commit
dma/xlnx-zdma: Reorg to fix CUR_DSCR
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 2 Apr 2020 13:47:21 +0000 (15:47 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Apr 2020 09:59:56 +0000 (10:59 +0100)
commit8893790966d9c964557ad01be4a68ef50696ace8
tree231ad2090502c4423cf18d22af521cf17b8c140d
parent4ec037f1dddfd5771f73af2a1c94f7df55d3fc04
dma/xlnx-zdma: Reorg to fix CUR_DSCR

Reorganize the descriptor handling so that CUR_DSCR always
points to the next descriptor to be processed.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-id: 20200402134721.27863-6-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/dma/xlnx-zdma.c