qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory


From: Gleb Natapov
Subject: [Qemu-devel] [PATCH v5 0/5] Support for S3 ACPI state (suspend to memory) in BIOS
Date: Thu, 27 Nov 2008 13:02:20 +0200
User-agent: StGIT/0.14.2

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.

v3:
- Stack pointer for rombios32 code depends on EBDA settings
- Fix .data and .rodata* section overlap
- Various small fixes

v4:
- If resume vector is NULL return to normal POST

v5:
- Call smm_init() at S3 resume boot
- Shadow BIOS before looking for resume vector

---

Gleb Natapov (5):
      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.


 bios/Makefile.in      |    1 
 bios/acpi-dsdt.dsl    |   45 +++++-
 bios/acpi-dsdt.hex    |  376 +++++++++++++++++++++++++------------------------
 bios/rombios.c        |   77 ++++++++--
 bios/rombios.h        |    1 
 bios/rombios32.c      |  132 ++++++++++++++---
 bios/rombios32.ld     |   10 +
 bios/rombios32start.S |   11 +
 8 files changed, 414 insertions(+), 239 deletions(-)

-- 
        Gleb.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]