mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-03 00:57:25 +00:00
7634fe3c27
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>
18 lines
645 B
Makefile
18 lines
645 B
Makefile
# core qdev-related obj files, also used by *-user:
|
|
common-obj-y += qdev.o qdev-properties.o
|
|
common-obj-y += fw-path-provider.o
|
|
# irq.o needed for qdev GPIO handling:
|
|
common-obj-y += irq.o
|
|
common-obj-y += hotplug.o
|
|
common-obj-y += nmi.o
|
|
|
|
common-obj-$(CONFIG_EMPTY_SLOT) += empty_slot.o
|
|
common-obj-$(CONFIG_XILINX_AXI) += stream.o
|
|
common-obj-$(CONFIG_PTIMER) += ptimer.o
|
|
common-obj-$(CONFIG_SOFTMMU) += sysbus.o
|
|
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
|