aboutsummaryrefslogtreecommitdiff
path: root/src/acpi-dsdt.dsl
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-12-18 21:57:33 -0500
committerKevin O'Connor <kevin@koconnor.net>2008-12-18 21:57:33 -0500
commit9967ab7111d4fa8948da5f09c2f2628570058121 (patch)
tree432f769aa4fcdc83034f17b057cfd4889671bb8a /src/acpi-dsdt.dsl
parentc5b503606b8835a9d3f2a6f323100938e146761d (diff)
downloadseabios-hppa-9967ab7111d4fa8948da5f09c2f2628570058121.zip
seabios-hppa-9967ab7111d4fa8948da5f09c2f2628570058121.tar.gz
seabios-hppa-9967ab7111d4fa8948da5f09c2f2628570058121.tar.bz2
Add initial S3 resume support.
Update ACPI DSDT tables with S3 info. Change acpi table signatures to use integers. Save location of rsdp table (so that S3 resume can easily find it later).
Diffstat (limited to 'src/acpi-dsdt.dsl')
-rw-r--r--src/acpi-dsdt.dsl45
1 files changed, 39 insertions, 6 deletions
diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index 19ac2f9..5fc3636 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/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) {
@@ -531,11 +546,29 @@ DefinitionBlock (
}
}
- /* S5 = power off state */
- Name (_S5, Package (4) {
- 0x00, // PM1a_CNT.SLP_TYP
- 0x00, // PM2a_CNT.SLP_TYP
- 0x00, // reserved
- 0x00, // reserved
+ /*
+ * S3 (suspend-to-ram), S4 (suspend-to-disk) and S5 (power-off) type codes:
+ * must match piix4 emulation.
+ */
+ Name (\_S3, Package (0x04)
+ {
+ 0x01, /* PM1a_CNT.SLP_TYP */
+ 0x01, /* PM1b_CNT.SLP_TYP */
+ Zero, /* reserved */
+ Zero /* reserved */
+ })
+ Name (\_S4, Package (0x04)
+ {
+ Zero, /* PM1a_CNT.SLP_TYP */
+ Zero, /* PM1b_CNT.SLP_TYP */
+ Zero, /* reserved */
+ Zero /* reserved */
+ })
+ Name (\_S5, Package (0x04)
+ {
+ Zero, /* PM1a_CNT.SLP_TYP */
+ Zero, /* PM1b_CNT.SLP_TYP */
+ Zero, /* reserved */
+ Zero /* reserved */
})
}