This is the seabios code that adds support for loading
acpi tables from QEMU.
Changes from v6:
- submission was botched, it didn't compile
fix up patch
biostables: support looking up RSDP
no changes to other patches
Changes from v5:
- address Ke
Load files through romfile loader and use for acpi tables.
We need the RSDP pointer to hang the rest of the tables off it,
to detect that we simply scan all memory in FSEG.
Add an option to disable this feature (useful for old QEMU versions).
This saves about 1Kbytes.
enabled:
Total size: 134932
Will be used when it's loaded from QEMU.
Signed-off-by: Michael S. Tsirkin
---
src/util.h | 1 +
src/fw/biostables.c | 41 ++---
2 files changed, 35 insertions(+), 7 deletions(-)
diff --git a/src/util.h b/src/util.h
index 880c04a..bf983e5 100644
---
Add ability for a ROM file to point to
it's image in memory. When file is in memory,
add utility that can patch it, storing
pointers to one file within another file.
This is not a lot of code: together with the follow-up patch to load
ACPI tables from ROM, it's about 1K extra.
Signed-off-by: Mich
IASL stores it's revision in each table header it generates.
That's a problem since guests see a change each time
they move between hypervisors.
We generally fill our own info for tables,
but we forgot to do this for the built-in DSDT.
Signed-off-by: Michael S. Tsirkin
---
src/fw/acpi.c | 5
Date: Mon, 4 Mar 2013 12:56:56 +0100
Signed-off-by: Paul Menzel
---
scripts/kconfig/mconf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 6c9c45f..2f9549e 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mcon
Date: Thu, 3 Oct 2013 11:55:48 +0200
Using Debian clang version 3.4-1 (trunk) (based on LLVM 3.4) to build
SeaBIOS, the switch `-Winitializer-overrides` results in the following
warnings.
$ CC=clang make
[…]
Compile checking out/src/hw/usb-xhci.o
clang: warning:
Date: Thu, 3 Oct 2013 11:30:52 +0200
The ASL Optimizing Compiler version 20130823-32 [Sep 11 2013] issues the
following warning.
$ make
[…]
Compiling IASL out/src/fw/acpi-dsdt.hex
out/src/fw/acpi-dsdt.dsl.i360: Method(IQCR, 1,
NotSerialized) {