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> |
||
|---|---|---|
| .. | ||
| acpi-defs.h | ||
| acpi.h | ||
| acpi_dev_interface.h | ||
| aml-build.h | ||
| bios-linker-loader.h | ||
| cpu_hotplug.h | ||
| ich9.h | ||
| memory_hotplug.h | ||
| pc-hotplug.h | ||
| pcihp.h | ||
| piix4.h | ||
| tco.h | ||
| tpm.h | ||