[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 6/6] Don't power down vga card on entering S3
From: |
Glauber Costa |
Subject: |
Re: [Qemu-devel] [PATCH v3 6/6] Don't power down vga card on entering S3 state. |
Date: |
Mon, 10 Nov 2008 10:07:19 -0200 |
On Mon, Nov 10, 2008 at 7:12 AM, Gleb Natapov <address@hidden> wrote:
> This is needed to fool windows to enter S3. The trick works for XP and
> Windows2003, but Vista still refuse to allow S3.
>
> Signed-off-by: Gleb Natapov <address@hidden>
> ---
>
> bios/acpi-dsdt.dsl | 15 ++
> bios/acpi-dsdt.hex | 373
> ++++++++++++++++++++++++++--------------------------
> 2 files changed, 204 insertions(+), 184 deletions(-)
>
> diff --git a/bios/acpi-dsdt.dsl b/bios/acpi-dsdt.dsl
> index 280a05e..5fc3636 100644
> --- a/bios/acpi-dsdt.dsl
> +++ b/bios/acpi-dsdt.dsl
> @@ -133,6 +133,21 @@ DefinitionBlock (
> }
>
> Scope(\_SB.PCI0) {
> + Device (VGA) {
> + Name (_ADR, 0x00020000)
> + Method (_S1D, 0, NotSerialized)
> + {
> + Return (0x00)
> + }
> + Method (_S2D, 0, NotSerialized)
> + {
> + Return (0x00)
> + }
> + Method (_S3D, 0, NotSerialized)
> + {
> + Return (0x00)
> + }
> + }
>
> /* PIIX3 ISA bridge */
> Device (ISA) {
> diff --git a/bios/acpi-dsdt.hex b/bios/acpi-dsdt.hex
> index 6088b18..a4c64e6 100644
> --- a/bios/acpi-dsdt.hex
> +++ b/bios/acpi-dsdt.hex
This one should be generated, right?
I don't think we actually need it in the patch
--
Glauber Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you have to act."
- [Qemu-devel] Re: [Bochs-developers] [PATCH v3 1/6] Move PIC initialization out ofline to save space in post code area., (continued)
[Qemu-devel] [PATCH v3 4/6] Execute rombios32 code from rom address 0xe0000., Gleb Natapov, 2008/11/10
[Qemu-devel] [PATCH v3 5/6] Don't use unreserved memory in BIOS., Gleb Natapov, 2008/11/10
[Qemu-devel] [PATCH v3 6/6] Don't power down vga card on entering S3 state., Gleb Natapov, 2008/11/10
[Qemu-devel] [PATCH v3 2/6] Add S3 state to DSDT. Handle resume event in the BIOS., Gleb Natapov, 2008/11/10
[Qemu-devel] [PATCH v3 3/6] Preserve memory content during SMM init., Gleb Natapov, 2008/11/10