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)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 26 Feb 2014 17:19:59 +0000 (17:19 +0000)
commitcf143ad35018c5fc1da6365b45acda2b34aba90a
tree37fed48f1990a0973a6ba32701e29d644b061096
parentfce0a826083e0416981e2ea9518ce5faa75b81a3
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
hw/arm/musicpal.c