summaryrefslogtreecommitdiffstats
path: root/disas/nanomips.cpp
diff options
context:
space:
mode:
authorMark Cave-Ayland2021-03-04 23:11:03 +0100
committerMark Cave-Ayland2021-03-07 11:39:05 +0100
commit7aa6baee7c8a54473f28c6fa1e980a9ff7989036 (patch)
tree3d5a9c326ec071f12e92c2ef4686fb621c046c78 /disas/nanomips.cpp
parentesp: implement non-DMA transfers in PDMA mode (diff)
downloadqemu-7aa6baee7c8a54473f28c6fa1e980a9ff7989036.tar.gz
qemu-7aa6baee7c8a54473f28c6fa1e980a9ff7989036.tar.xz
qemu-7aa6baee7c8a54473f28c6fa1e980a9ff7989036.zip
esp: add support for unaligned accesses
When the MacOS toolbox ROM transfers data from a target device to an unaligned memory address, the first/last byte of a 16-bit transfer needs to be handled separately. This means that the first byte is preloaded into the FIFO before the transfer, or the last byte remains in the FIFO after the transfer. The result of this is that the PDMA routines must be updated so that the FIFO is loaded/unloaded if the last 16-bit word is used (rather than the last byte) and any remaining byte from a FIFO wraparound is handled correctly. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210304221103.6369-43-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'disas/nanomips.cpp')
0 files changed, 0 insertions, 0 deletions