summaryrefslogtreecommitdiffstats
path: root/hw/core/Makefile.objs
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-09-24 13:16:11 +0200
committerAlexander Graf <agraf@suse.de>2014-11-04 23:26:14 +0100
commit7634fe3c273ca2f2eb992b3b6bb7796b85558377 (patch)
treef2971edb350663ad0c9e85195fcbcd5bc4a7e304 /hw/core/Makefile.objs
parent471a9bc14444e79bb826616becd2e5531e591d30 (diff)
downloadhqemu-7634fe3c273ca2f2eb992b3b6bb7796b85558377.zip
hqemu-7634fe3c273ca2f2eb992b3b6bb7796b85558377.tar.gz
sysbus: Add new platform bus helper device
We need to support spawning of sysbus devices dynamically via the command line. The easiest way to represent these dynamically spawned devices in the guest's memory and IRQ layout is by preallocating some space for dynamic sysbus devices. This is what the "platform bus" device does. It is a sysbus device that exports a configurably sized MMIO region and a configurable number of IRQ lines. When this device encounters sysbus devices that have been dynamically created and not manually wired up, it dynamically connects them to its own pool of resources. The machine model can then loop through all of these devices and create a guest configuration (device tree) to make them visible to the guest. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/core/Makefile.objs')
-rw-r--r--hw/core/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs
index 17845df..9dce1bc 100644
--- a/hw/core/Makefile.objs
+++ b/hw/core/Makefile.objs
@@ -14,3 +14,4 @@ common-obj-$(CONFIG_SOFTMMU) += machine.o
common-obj-$(CONFIG_SOFTMMU) += null-machine.o
common-obj-$(CONFIG_SOFTMMU) += loader.o
common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
+common-obj-$(CONFIG_SOFTMMU) += platform-bus.o
OpenPOWER on IntegriCloud