mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 14:00:44 +00:00
e481a1f63c
Add a generic loader to QEMU which can be used to load images or set memory values. Internally inside QEMU this is a device. It is a strange device that provides no hardware interface but allows QEMU to monkey patch memory specified when it is created. To be able to do this it has a reset callback that does the memory operations. This device allows the user to monkey patch memory. To be able to do this it needs a backend to manage the datas, the same as other memory-related devices. In this case as the backend is so trivial we have merged it with the frontend instead of creating and maintaining a seperate backend. Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Acked-by: Markus Armbruster <armbru@redhat.com> Message-id: 10f2a9dce5e5e11b6c6d959415b0ad6ee22bcba5.1475195078.git.alistair.francis@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
23 lines
792 B
Makefile
23 lines
792 B
Makefile
# core qdev-related obj files, also used by *-user:
|
|
common-obj-y += qdev.o qdev-properties.o
|
|
common-obj-y += bus.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
|
|
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) += register.o
|
|
common-obj-$(CONFIG_SOFTMMU) += or-irq.o
|
|
common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o
|
|
|
|
obj-$(CONFIG_SOFTMMU) += generic-loader.o
|