From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kwvhg-0005Si-Ki for qemu-devel@nongnu.org; Mon, 03 Nov 2008 04:26:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kwvhe-0005R8-6W for qemu-devel@nongnu.org; Mon, 03 Nov 2008 04:26:31 -0500 Received: from [199.232.76.173] (port=57835 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kwvhd-0005Qy-OF for qemu-devel@nongnu.org; Mon, 03 Nov 2008 04:26:29 -0500 Received: from mx2.redhat.com ([66.187.237.31]:33598) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kwvhd-0008T6-Om for qemu-devel@nongnu.org; Mon, 03 Nov 2008 04:26:30 -0500 From: Gleb Natapov Date: Mon, 03 Nov 2008 11:26:20 +0200 Message-ID: <20081103092620.8058.91416.stgit@dhcp-1-237.local> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH v2 0/6] Support for S3 ACPI state (suspend to memory) in BIOS Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: bochs-developers@lists.sourceforge.net Cc: qemu-devel@nongnu.org Hello, This patch series adds S3 (suspend to RAM) ACPI state to BIOS. Most changes concern themselves with preventing BIOS from using memory locations available to a guest OS. Changelog: v2: - Don't disable SMM. - Jump to resume vector ASAP. Don't execute entire POST. - Use smp_cpus directly for smp initialization instead of special memory location. --- Gleb Natapov (6): Don't power down vga card on entering S3 state. Don't use unreserved memory in BIOS. Execute rombios32 code from rom address 0xe0000. Preserve memory content during SMM init. Add S3 state to DSDT. Handle resume event in the BIOS. Move PIC initialization out of line to save space in post code area. bios/Makefile.in | 1 bios/acpi-dsdt.dsl | 45 +++++- bios/acpi-dsdt.hex | 376 +++++++++++++++++++++++++------------------------ bios/rombios.c | 112 +++++++++------ bios/rombios.h | 1 bios/rombios32.c | 95 +++++++++++- bios/rombios32.ld | 8 - bios/rombios32start.S | 11 + 8 files changed, 398 insertions(+), 251 deletions(-) -- Gleb.