]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/musicpal: Remove nonexistent CDTP2, CDTP3 registers
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 26 Feb 2014 17:19:59 +0000 (17:19 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 27 Feb 2014 15:38:31 +0000 (09:38 -0600)
commitfa98e47a250516d83dd3712e9456bf795c83627b
tree3ac79d62c8f6a3965e03a7ae6d63bfa2288ac7d5
parentff51a1d589b07d7f95a5355b31a9f962203fd9cd
hw/arm/musicpal: Remove nonexistent CDTP2, CDTP3 registers

The ethernet device in the musicpal only has two tx queues,
but we modelled it with four CTDP registers, presumably a
cut and paste from the rx queue registers. Since the tx_queue[]
array is only 2 entries long this allowed a guest to overrun
this buffer. Remove the nonexistent registers.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1392737293-10073-1-git-send-email-peter.maydell@linaro.org
Acked-by: Jan Kiszka <jan.kiszka@web.de>
Cc: qemu-stable@nongnu.org
(cherry picked from commit cf143ad35018c5fc1da6365b45acda2b34aba90a)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/arm/musicpal.c