qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org, seabios@seabios.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [rfc patch seabios 2/3] wakeup: serial
Date: Tue, 17 Jul 2012 14:31:01 +0200	[thread overview]
Message-ID: <1342528262-11548-3-git-send-email-kraxel@redhat.com> (raw)
In-Reply-To: <1342528262-11548-1-git-send-email-kraxel@redhat.com>

Windup gpe bit 0x0a for s3 wakeup.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 src/acpi-dsdt.dsl |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index 93d0b3d..03efbfd 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/acpi-dsdt.dsl
@@ -479,6 +479,12 @@ DefinitionBlock (
 		    })
 		    Return (BUF0)
 		}
+                /* Power Resources for Wake */
+                Name(_PRW, Package(2) {
+                    0x0a,  // GPE bit
+                    0x03,  // S3
+                })
+
 	    }
 
 	    Device (COM2)
@@ -793,6 +799,7 @@ DefinitionBlock (
             Return(0x01)
         }
         Method(_L0A) {
+            Notify(\_SB.PCI0.ISA.COM1, 0x80)
             Return(0x01)
         }
         Method(_L0B) {
-- 
1.7.1

  parent reply	other threads:[~2012-07-17 12:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 12:30 [Qemu-devel] [rfc patch seabios 0/3] s3 improvements Gerd Hoffmann
2012-07-17 12:31 ` [Qemu-devel] [rfc patch seabios 1/3] wakeup: kbd & mouse Gerd Hoffmann
2012-07-17 12:31 ` Gerd Hoffmann [this message]
2012-07-17 12:31 ` [Qemu-devel] [rfc patch seabios 3/3] wakeup: uhci Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1342528262-11548-3-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).