qemu-e2k/include/hw/ppc
Alexander Graf 80fc95d8bd PPC: dbdma: Support unaligned DMA access
The DBDMA engine really just reads bytes from a producing device (IDE
in our case) and shoves these bytes into memory. It doesn't care whether
any alignment takes place or not.

Our code today however assumes that block accesses always happen on
sector (512 byte) boundaries. This is a fair assumption for most cases.

However, Mac OS X really likes to do unaligned, incomplete accesses
that it finishes with the next DMA request.

So we need to read / write the unaligned bits independent of the actual
asynchronous request, because that one can only handle 512-byte-aligned
data. We also need to cache these unaligned sectors until the next DMA
request, at which point the data might be successfully flushed from the
pipe.

Signed-off-by: Alexander Graf <agraf@suse.de>
2013-07-11 18:51:25 +02:00
..
mac_dbdma.h PPC: dbdma: Support unaligned DMA access 2013-07-11 18:51:25 +02:00
openpic.h intc/openpic_kvm: Fix QOM and build issues 2013-07-01 01:11:15 +02:00
ppc4xx.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppc_e500.h intc/openpic: Build openpic only once 2013-07-09 21:33:02 +02:00
ppc.h intc/openpic: Build openpic only once 2013-07-09 21:33:02 +02:00
spapr_vio.h dma: eliminate DMAContext 2013-06-20 16:39:52 +02:00
spapr.h spapr_iommu: pass device to spapr_tce_new_table and use it to set owner 2013-07-04 17:42:47 +02:00
xics.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00