]> git.ipfire.org Git - thirdparty/qemu.git/commit
sysbus: Expose IRQ enumeration helpers
authorAlexander Graf <agraf@suse.de>
Wed, 24 Sep 2014 10:32:17 +0000 (12:32 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:14 +0000 (23:26 +0100)
commitb797318666dade9675a253d311125ae7b568e2f8
tree2168ef91b1a20267ec70cc164a14a54a303d585c
parent33cd52b5d7b9adfd009e95f07e6c64dd88ae2a31
sysbus: Expose IRQ enumeration helpers

Sysbus devices can get their IRQ lines connected to other devices. It is
possible to figure out which IRQ line a connection is on and whether a sysbus
device even provides an IRQ connector at a specific offset.

This patch exposes helpers to make this information publicly accessible. We
will need it for the platform bus dynamic sysbus enumeration.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/core/qdev.c
hw/core/sysbus.c
include/hw/qdev-core.h
include/hw/sysbus.h