From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvr5W-0002VE-QI for qemu-devel@nongnu.org; Sun, 07 Jul 2013 11:41:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uvr5T-0000CA-Nj for qemu-devel@nongnu.org; Sun, 07 Jul 2013 11:41:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uvr5T-0000C4-FH for qemu-devel@nongnu.org; Sun, 07 Jul 2013 11:41:19 -0400 Date: Sun, 7 Jul 2013 18:42:32 +0300 From: "Michael S. Tsirkin" Message-ID: <1373211589-8097-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH v2 0/5] seabios: load acpi tables from qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: seabios@seabios.org Cc: qemu-devel@nongnu.org This is the seabios code that adds support for loading acpi tables from QEMU: it's working fine here and in fact, I am able to get exactly same tables with builtin tables and with tables coming from qemu. Changes from v1: - simplified linker interfaces along the lines suggested by Kevin - fixed lots of bugs Michael S. Tsirkin (5): linker: utility to patch in-memory ROM files pmm: add a way to test whether memory is in FSEG acpi: pack rsdp acpi: load and link tables from /etc/acpi/ acpi: add an option to disable builtin tables Makefile | 2 +- src/Kconfig | 12 +++++- src/acpi.c | 39 +++++++++++++++++ src/acpi.h | 2 +- src/linker.c | 132 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/linker.h | 72 +++++++++++++++++++++++++++++++ src/paravirt.c | 2 + src/pmm.c | 24 ++++++++--- src/util.h | 2 + 9 files changed, 278 insertions(+), 9 deletions(-) create mode 100644 src/linker.c create mode 100644 src/linker.h -- MST