qemu-e2k/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 i386, acpi: check acpi_memory_hotplug capacity in pre_plug 2019-03-12 22:31:21 -04:00
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 nvdimm: use NVDIMM_ACPI_IO_LEN for the proper IO size 2019-03-12 22:31:21 -04:00
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 acpi/piix4: Convert debug printf()s to trace events 2019-05-20 18:40:02 -04:00
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