qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/6] acpi: simplify bios_linker API
@ 2016-05-19 13:19 Igor Mammedov
  2016-05-19 13:19 ` [Qemu-devel] [PATCH v2 1/6] acpi: convert linker from GArray to BIOSLinker structure Igor Mammedov
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Igor Mammedov @ 2016-05-19 13:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: guangrong.xiao, ehabkost, mst, qemu-arm, zhaoshenglong

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. 


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(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-31 15:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-19 13:19 [Qemu-devel] [PATCH v2 0/6] acpi: simplify bios_linker API Igor Mammedov
2016-05-19 13:19 ` [Qemu-devel] [PATCH v2 1/6] acpi: convert linker from GArray to BIOSLinker structure Igor Mammedov
2016-05-19 13:19 ` [Qemu-devel] [PATCH v2 2/6] acpi: simplify bios_linker API by removing redundant 'table' argument Igor Mammedov
2016-05-19 13:19 ` [Qemu-devel] [PATCH v2 3/6] acpi: cleanup bios_linker_loader_cleanup() Igor Mammedov
2016-05-19 13:19 ` [Qemu-devel] [PATCH v2 4/6] tpm: apci: cleanup TCPA table initialization Igor Mammedov
2016-05-19 13:19 ` [Qemu-devel] [PATCH v2 5/6] acpi: make bios_linker_loader_add_pointer() API offset based Igor Mammedov
2016-05-19 13:19 ` [Qemu-devel] [PATCH v2 6/6] acpi: make bios_linker_loader_add_checksum() " Igor Mammedov
2016-05-31 15:09 ` [Qemu-devel] [PATCH v2 0/6] acpi: simplify bios_linker API Igor Mammedov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).