qemu-patch-raspberry4/include/hw/acpi
Igor Mammedov 28213cb6a6 acpi: make bios_linker_loader_add_checksum() API offset based
It should help to make clear that bios_linker works in terms
of offsets within a file. Also it should prevent mistakes
where user passes as arguments pointers to unrelated to file blobs.

While at it, considering that it's a ACPI checksum and
it's initial value must be 0, move checksum field zeroing
into bios_linker_loader_add_checksum() instead of doing it
at every call site manually before bios_linker_loader_add_checksum()
is called.

In addition add extra boundary checks.

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-defs.h ACPI: Fix the definition of proximity in AcpiSratMemoryAffinity 2016-05-12 13:22:28 +01:00
acpi.h acpi: extend ACPI interface to provide send_event hook 2016-06-07 15:36:54 +03:00
acpi_dev_interface.h acpi: extend ACPI interface to provide send_event hook 2016-06-07 15:36:54 +03:00
aml-build.h acpi: convert linker from GArray to BIOSLinker structure 2016-06-07 15:36:54 +03:00
bios-linker-loader.h acpi: make bios_linker_loader_add_checksum() API offset based 2016-06-07 15:39:27 +03:00
cpu_hotplug.h pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
ich9.h pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
memory_hotplug.h pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
pc-hotplug.h pc: acpi: cpuhp: move \_GPE._E02() into SSDT 2016-01-09 23:20:17 +02:00
pcihp.h pc: use AcpiDeviceIfClass.send_event to issue GPE events 2016-06-07 15:36:54 +03:00
piix4.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
tco.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
tpm.h TPM2 ACPI table support 2015-06-01 14:18:54 +02:00