diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-12-18 21:57:33 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-12-18 21:57:33 -0500 |
commit | 9967ab7111d4fa8948da5f09c2f2628570058121 (patch) | |
tree | 432f769aa4fcdc83034f17b057cfd4889671bb8a /src/acpi-dsdt.dsl | |
parent | c5b503606b8835a9d3f2a6f323100938e146761d (diff) | |
download | seabios-9967ab7111d4fa8948da5f09c2f2628570058121.tar.gz |
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.dsl | 45 |
1 files changed, 39 insertions, 6 deletions
diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl index 19ac2f9c..5fc36364 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 */ }) } |