diff options
author | Alexander Graf | 2013-06-30 02:18:54 +0200 |
---|---|---|
committer | Alexander Graf | 2013-07-11 18:51:24 +0200 |
commit | d1e562deb2de5c2ced639b18dee59a9ab08236b6 (patch) | |
tree | 524c4484013ca5ade0f446d6a8f79530c29213df /include/hw/ppc/mac_dbdma.h | |
parent | PPC: dbdma: Move defines into header file (diff) | |
download | qemu-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.h | 1 |
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 |