[SeaBIOS] [rfc patch seabios 2/3] wakeup: serial

Gerd Hoffmann kraxel at redhat.com
Tue Jul 17 14:31:01 CEST 2012


Windup gpe bit 0x0a for s3 wakeup.

Signed-off-by: Gerd Hoffmann <kraxel at 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




More information about the SeaBIOS mailing list