qemu-e2k/include/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_dev_interface.h
acpi-defs.h acpi: pci: use build_append_foo() API to construct MCFG 2019-05-29 18:00:57 -04:00
acpi.h
aml-build.h
bios-linker-loader.h
cpu_hotplug.h
cpu.h
ich9.h
ipmi.h
memory_hotplug.h
pc-hotplug.h
pci.h hw/acpi: Consolidate build_mcfg to pci.c 2019-05-29 18:00:57 -04:00
pcihp.h
piix4.h
tco.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
tpm.h
utils.h hw/acpi: extract acpi_add_rom_blob() 2019-06-16 16:16:52 -04:00
vmgenid.h