summaryrefslogtreecommitdiffstats
path: root/stubs
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2014-05-18 13:20:55 +0100
committerAlexander Graf <agraf@suse.de>2014-06-16 13:24:36 +0200
commit85720d36676ef0b765a69f1e312b4c9d4ff6fa16 (patch)
tree2417d66867d722d96ec7e5f9dfc4b3a5161cd44e /stubs
parent10582ff832798813ba3a17f13f3ab46250388b47 (diff)
downloadhqemu-85720d36676ef0b765a69f1e312b4c9d4ff6fa16.zip
hqemu-85720d36676ef0b765a69f1e312b4c9d4ff6fa16.tar.gz
macio: handle non-block ATAPI DMA transfers
Currently the macio DMA routines assume that all DMA requests are for read/write block transfers. This is not always the case for ATAPI, for example when requesting a TOC where the response is generated directly in the IDE buffer. Detect these non-block ATAPI DMA transfers (where no lba is specified in the command) and copy the results directly into RAM as indicated by the DBDMA descriptor. This fixes CDROM access under MorphOS. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'stubs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud