qemu/hw/acpi
Wei Yang 82f76c6702 hw/acpi: extract acpi_add_rom_blob()
arm and i386 has almost the same function acpi_add_rom_blob(), except
giving different FWCfgCallback function.

This patch moves acpi_add_rom_blob() to utils.c by passing
FWCfgCallback to it.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>

v7:
  * rebase on top of current master because of conflict
v6:
  * change author from Igor to Michael
v5:
  * remove unnecessary header glib/gprintf.h
  * rearrange include header to make it more suitable
v4:
  * extract -> moves
  * adjust comment in source to make checkpatch happy
v3:
  * put acpi_add_rom_blob() to hw/acpi/utils.c
v2:
  * remove unused header in original source file
Message-Id: <20190610011830.28398-1-richardw.yang@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-06-16 16:16:52 -04:00
..
acpi_interface.c
acpi-stub.c
aml-build.c
bios-linker-loader.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
core.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
cpu_hotplug.c
cpu.c
ich9.c
ipmi-stub.c
ipmi.c
Kconfig hw/acpi: Consolidate build_mcfg to pci.c 2019-05-29 18:00:57 -04:00
Makefile.objs hw/acpi: extract acpi_add_rom_blob() 2019-06-16 16:16:52 -04:00
memory_hotplug.c
nvdimm.c
pci.c acpi: pci: use build_append_foo() API to construct MCFG 2019-05-29 18:00:57 -04:00
pcihp.c acpi/pcihp: Add a few more trace points related to unplug 2019-05-20 18:40:02 -04:00
piix4.c
tco.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
tpm.c
trace-events acpi/pcihp: Add a few more trace points related to unplug 2019-05-20 18:40:02 -04:00
utils.c hw/acpi: extract acpi_add_rom_blob() 2019-06-16 16:16:52 -04:00
vmgenid.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00