aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-06-30 02:22:41 +0200
committerAlexander Graf <agraf@suse.de>2013-07-11 18:51:24 +0200
commitd2f0ce2189feef94516d81fa5834fa4d65435053 (patch)
tree573ab2186b7293c607bf9e9010604e59acbd1c7c /include/hw
parentd1e562deb2de5c2ced639b18dee59a9ab08236b6 (diff)
PPC: dbdma: Move static bh variable to device struct
The DBDMA controller has a bottom half to asynchronously process DMA request queues. This bh was stored as a gross static variable. Move it into the device struct instead. While at it, move all users of it to the new generic kick function. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw')
-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 aaeab10b6c..eb8e0f0075 100644
--- a/include/hw/ppc/mac_dbdma.h
+++ b/include/hw/ppc/mac_dbdma.h
@@ -154,6 +154,7 @@ typedef struct DBDMA_channel {
typedef struct {
MemoryRegion mem;
DBDMA_channel channels[DBDMA_CHANNELS];
+ QEMUBH *bh;
} DBDMAState;
/* Externally callable functions */