diff options
author | Alexander Graf <agraf@suse.de> | 2013-06-30 02:22:41 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-07-11 18:51:24 +0200 |
commit | d2f0ce2189feef94516d81fa5834fa4d65435053 (patch) | |
tree | 573ab2186b7293c607bf9e9010604e59acbd1c7c /include/hw/ppc/mac_dbdma.h | |
parent | d1e562deb2de5c2ced639b18dee59a9ab08236b6 (diff) | |
download | qemu-d2f0ce2189feef94516d81fa5834fa4d65435053.tar.gz qemu-d2f0ce2189feef94516d81fa5834fa4d65435053.tar.bz2 qemu-d2f0ce2189feef94516d81fa5834fa4d65435053.zip |
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/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 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 */ |