mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
d1e562deb2
commit
d2f0ce2189
2 changed files with 16 additions and 9 deletions
|
@ -154,6 +154,7 @@ typedef struct DBDMA_channel {
|
|||
typedef struct {
|
||||
MemoryRegion mem;
|
||||
DBDMA_channel channels[DBDMA_CHANNELS];
|
||||
QEMUBH *bh;
|
||||
} DBDMAState;
|
||||
|
||||
/* Externally callable functions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue