summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/mac_dbdma.h
diff options
context:
space:
mode:
authorAlexander Graf2013-06-30 02:18:54 +0200
committerAlexander Graf2013-07-11 18:51:24 +0200
commitd1e562deb2de5c2ced639b18dee59a9ab08236b6 (patch)
tree524c4484013ca5ade0f446d6a8f79530c29213df /include/hw/ppc/mac_dbdma.h
parentPPC: dbdma: Move defines into header file (diff)
downloadqemu-d1e562deb2de5c2ced639b18dee59a9ab08236b6.tar.gz
qemu-d1e562deb2de5c2ced639b18dee59a9ab08236b6.tar.xz
qemu-d1e562deb2de5c2ced639b18dee59a9ab08236b6.zip
PPC: dbdma: Introduce kick function
The DBDMA engine really is running all the time, waiting for input. However we don't want to waste cycles constantly polling. So introduce a kick function that data providers can call to notify the DBDMA controller of new input. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw/ppc/mac_dbdma.h')
-rw-r--r--include/hw/ppc/mac_dbdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/mac_dbdma.h b/include/hw/ppc/mac_dbdma.h
index 90be5d9c9b..aaeab10b6c 100644
--- a/include/hw/ppc/mac_dbdma.h
+++ b/include/hw/ppc/mac_dbdma.h
@@ -161,6 +161,7 @@ typedef struct {
void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq,
DBDMA_rw rw, DBDMA_flush flush,
void *opaque);
+void DBDMA_kick(DBDMAState *dbdma);
void* DBDMA_init (MemoryRegion **dbdma_mem);
#endif