This is the seabios code that adds support for loading acpi tables from QEMU.
Changes from v3: - updated to latest bits - add option to disable loading from QEMU
Changes from v2: - addressed comments from Kevin: fixed coding style, minimized changes to existing code
Changes from v1: - simplified linker interfaces along the lines suggested by Kevin - fixed lots of bugs
Michael S. Tsirkin (5): romfile_loader: utility to patch in-memory ROM files pmm: support looking up a given pattern in FSEG acpi: pack rsdp acpi: load and link tables through romfile loader acpi: add an option to disable builtin tables
Makefile | 2 +- src/malloc.h | 1 + src/romfile_loader.h | 72 +++++++++++++++++++++ src/std/acpi.h | 2 +- src/fw/acpi.c | 30 +++++++++ src/fw/paravirt.c | 2 + src/malloc.c | 20 +++++- src/romfile_loader.c | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/Kconfig | 22 ++++++- 9 files changed, 323 insertions(+), 4 deletions(-) create mode 100644 src/romfile_loader.h create mode 100644 src/romfile_loader.c