mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
hw/m68k/next-cube: Make next_irq GPIO inputs to NEXT_PC device
Make the next_irq function be GPIO inputs to the NEXT_PC device, rather than a freestanding set of qemu_irq lines. This fixes a minor Coverity issue where it correctly points out the trivial memory leak of the memory allocated in the call to qemu_allocate_irqs(). Fixes: CID 1421962 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20210115201206.17347-8-peter.maydell@linaro.org> Signed-off-by: Thomas Huth <huth@tuxfamily.org>
This commit is contained in:
parent
ac99317b5f
commit
d9cd403972
2 changed files with 6 additions and 18 deletions
|
@ -39,7 +39,8 @@ enum next_irqs {
|
|||
NEXT_ENRX_DMA_I,
|
||||
NEXT_SCSI_DMA_I,
|
||||
NEXT_SCC_DMA_I,
|
||||
NEXT_SND_I
|
||||
NEXT_SND_I,
|
||||
NEXT_NUM_IRQS
|
||||
};
|
||||
|
||||
#endif /* NEXT_CUBE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue