blob: 0b3fa082eefefe0f9dccbfb0cec3ca578b0926c0 [file] [log] [blame]
Paolo Bonzinicf5bef42012-08-02 15:07:21 +02001ACPI_EXTRACT_ALL_CODE ssdp_susp_aml
2
3DefinitionBlock ("ssdt-susp.aml", "SSDT", 0x01, "BXPC", "BXSSDTSUSP", 0x1)
4{
5
6/****************************************************************
7 * Suspend
8 ****************************************************************/
9
10 Scope(\) {
11 /*
12 * S3 (suspend-to-ram), S4 (suspend-to-disk) and S5 (power-off) type codes:
13 * must match piix4 emulation.
14 */
15
16 ACPI_EXTRACT_NAME_STRING acpi_s3_name
17 Name (_S3, Package (0x04)
18 {
19 One, /* PM1a_CNT.SLP_TYP */
20 One, /* PM1b_CNT.SLP_TYP */
21 Zero, /* reserved */
22 Zero /* reserved */
23 })
24 ACPI_EXTRACT_NAME_STRING acpi_s4_name
25 ACPI_EXTRACT_PKG_START acpi_s4_pkg
26 Name (_S4, Package (0x04)
27 {
28 0x2, /* PM1a_CNT.SLP_TYP */
29 0x2, /* PM1b_CNT.SLP_TYP */
30 Zero, /* reserved */
31 Zero /* reserved */
32 })
33 Name (_S5, Package (0x04)
34 {
35 Zero, /* PM1a_CNT.SLP_TYP */
36 Zero, /* PM1b_CNT.SLP_TYP */
37 Zero, /* reserved */
38 Zero /* reserved */
39 })
40 }
41}