[SeaBIOS] [PATCH v7 0/3] seabios: load acpi tables from qemu

2013-10-03 Thread Michael S. Tsirkin
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

[SeaBIOS] [PATCH v7 3/3] acpi: load and link tables through romfile loader

2013-10-03 Thread Michael S. Tsirkin
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

[SeaBIOS] [PATCH v7 1/3] biostables: support looking up RSDP

2013-10-03 Thread Michael S. Tsirkin
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 ---

[SeaBIOS] [PATCH v7 2/3] romfile_loader: utility to patch in-memory ROM files

2013-10-03 Thread Michael S. Tsirkin
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

[SeaBIOS] [PATCH] acpi: strip compiler info in built-in DSDT if any

2013-10-03 Thread Michael S. Tsirkin
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

[SeaBIOS] [PATCH] scripts/kconfig/mconf.c: Add third person »s« in »This interface let*s*«

2013-10-03 Thread Paul Menzel
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

[SeaBIOS] [PATCH] hw/usb-xhci.c: Code refactoring to not override initializers in `speed_from_xhci[16]`

2013-10-03 Thread Paul Menzel
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:

[SeaBIOS] [PATCH] ACPI DSDT: Make control method `IQCR` serialized

2013-10-03 Thread Paul Menzel
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) {