qemu-e2k/hw/acpi
Igor Mammedov ad9671b870 acpi: simplify bios_linker API by removing redundant 'table' argument
'table' argument in bios_linker_add_foo() commands is
a data blob of one of files also passed to the same API.
So instead of passing blob in every API call, add and keep
file name association with related blob at bios_linker_loader_alloc()
time.

And find blob by name looking up allocated file entries
inside of bios_linker_add_foo() commands.

It will:
 - make API less confusing,
 - enforce calling bios_linker_loader_alloc() before
   calling any bios_linker_add_foo()
 - make sure that blob is the correct one, i.e.
   associated with the right file name

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-06-07 15:39:27 +03:00
..
acpi_interface.c acpi: extend ACPI interface to provide send_event hook 2016-06-07 15:36:54 +03:00
aml-build.c acpi: simplify bios_linker API by removing redundant 'table' argument 2016-06-07 15:39:27 +03:00
bios-linker-loader.c acpi: simplify bios_linker API by removing redundant 'table' argument 2016-06-07 15:39:27 +03:00
core.c acpi: extend ACPI interface to provide send_event hook 2016-06-07 15:36:54 +03:00
cpu_hotplug.c pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
ich9.c pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
Makefile.objs pc: acpi: consolidate legacy CPU hotplug in one file 2016-06-07 15:36:54 +03:00
memory_hotplug_acpi_table.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
memory_hotplug.c pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
nvdimm.c acpi: simplify bios_linker API by removing redundant 'table' argument 2016-06-07 15:39:27 +03:00
pcihp.c pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
piix4.c pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
tco.c x86: Clean up includes 2016-01-29 15:07:22 +00:00