]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw: Move declaration of IRQState to header and add init function
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 29 Jun 2024 20:01:53 +0000 (22:01 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 11 Sep 2024 11:20:30 +0000 (07:20 -0400)
commite72a7f65c11565d2f216711588a4e767a1f6cd80
tree2e0d2eaaf20ede9ddf8d9ba7248eb1f3af69d2ab
parent2688e8df60f5a655dc34c5e38523e425556f8483
hw: Move declaration of IRQState to header and add init function

To allow embedding a qemu_irq in a struct move its definition to the
header and add a function to init it in place without allocating it.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <e3ffd0f6ef8845d0f7247c9b6ff33f7ee8b432cf.1719690591.git.balaton@eik.bme.hu>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
hw/core/irq.c
include/hw/irq.h