summaryrefslogtreecommitdiffstats
path: root/target-arm
diff options
context:
space:
mode:
authorPeter Maydell2014-05-13 17:09:39 +0200
committerPeter Maydell2014-05-13 17:09:39 +0200
commit89f26e6b7b5e5c9657f2abd6ef5a336bea11add2 (patch)
tree6aeae29d0fb94905de4640e61669385ca98857ad /target-arm
parenthw/arm/stellaris: Correct handling of GPTM TAR register (diff)
downloadqemu-89f26e6b7b5e5c9657f2abd6ef5a336bea11add2.tar.gz
qemu-89f26e6b7b5e5c9657f2abd6ef5a336bea11add2.tar.xz
qemu-89f26e6b7b5e5c9657f2abd6ef5a336bea11add2.zip
hw/arm/omap_gpmc: Avoid buffer overrun filling prefetch FIFO
In fill_prefetch_fifo(), if the device we are reading from is 16 bit, then we must not try to transfer an odd number of bytes into the FIFO. This could otherwise have resulted in our overrunning the prefetch.fifo array by one byte. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Diffstat (limited to 'target-arm')
0 files changed, 0 insertions, 0 deletions