On Thu, 19 May 2016 15:19:24 +0200 Igor Mammedov <imamm...@redhat.com> wrote:
> Simplify bios_linker API by adding file name + blob tracking > so user would have to suppily less arguments which > reduces chances of mistake by using wrong blob pointer > with not related file. > And also refactor API to take file offsets, > which is what is usualy used in context of file APIs, > (and as it's what actually current API were doing only internally), > instead of using host pointers. > I hope it makes it easier for user to use API without > need to look at implementation in QEMU/SeaBIOS. ping > > > Igor Mammedov (6): > acpi: convert linker from GArray to BIOSLinker structure > acpi: simplify bios_linker API by removing redundant 'table' argument > acpi: cleanup bios_linker_loader_cleanup() > tpm: apci: cleanup TCPA table initialization > acpi: make bios_linker_loader_add_pointer() API offset based > acpi: make bios_linker_loader_add_checksum() API offset based > > hw/acpi/aml-build.c | 33 +++---- > hw/acpi/bios-linker-loader.c | 179 > +++++++++++++++++++++-------------- > hw/acpi/nvdimm.c | 22 +++-- > hw/arm/virt-acpi-build.c | 56 +++++------ > hw/i386/acpi-build.c | 92 +++++++++--------- > include/hw/acpi/aml-build.h | 7 +- > include/hw/acpi/bios-linker-loader.h | 28 +++--- > include/hw/mem/nvdimm.h | 3 +- > 8 files changed, 235 insertions(+), 185 deletions(-) >