diff options
author | Alexander Graf <agraf@suse.de> | 2013-06-30 02:36:14 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-07-11 18:51:25 +0200 |
commit | 4aa3510f6f36c5ea35219acf641788222d977437 (patch) | |
tree | 6478da14c50fecc2f98636dc2e4d635998f05b4d /hw/ppc | |
parent | d2f0ce2189feef94516d81fa5834fa4d65435053 (diff) |
PPC: dbdma: macio: Add DMA callback
We need to know when the IDE core starts a DMA transfer. Add a notifier
function so we have the chance to start transmitting data.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc')
-rw-r--r-- | hw/ppc/mac.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ppc/mac.h b/hw/ppc/mac.h index 54efaed627..27c4ca39be 100644 --- a/hw/ppc/mac.h +++ b/hw/ppc/mac.h @@ -131,6 +131,8 @@ typedef struct MACIOIDEState { MemoryRegion mem; IDEBus bus; BlockDriverAIOCB *aiocb; + IDEDMA dma; + void *dbdma; } MACIOIDEState; void macio_ide_init_drives(MACIOIDEState *ide, DriveInfo **hd_table); |