summaryrefslogtreecommitdiff
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-06-30 02:18:54 +0200
committerAlexander Graf <agraf@suse.de>2013-07-11 18:51:24 +0200
commitd1e562deb2de5c2ced639b18dee59a9ab08236b6 (patch)
tree524c4484013ca5ade0f446d6a8f79530c29213df /include/hw/ppc
parentf2f963fd0775263f9c1cdd3cd92b171c8dae6c77 (diff)
downloadqemu-d1e562deb2de5c2ced639b18dee59a9ab08236b6.tar.gz
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')
-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