]> git.proxmox.com Git - mirror_qemu.git/commit
sysbus: Expose MMIO enumeration helper
authorAlexander Graf <agraf@suse.de>
Wed, 24 Sep 2014 10:36:30 +0000 (12:36 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:14 +0000 (23:26 +0100)
commit471a9bc14444e79bb826616becd2e5531e591d30
tree37693aa15037729d55f5006d774499b6b5d07f3a
parentb797318666dade9675a253d311125ae7b568e2f8
sysbus: Expose MMIO enumeration helper

Sysbus devices have a range of MMIO regions they expose. The exact number
of regions is device specific and internal information to the device model.

Expose whether a region exists via a public interface. That way our platform
bus enumeration code can dynamically determine how many regions exist.

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