David Wei | 3cbfba0 | 2015-01-12 09:37:20 +0000 | [diff] [blame] | 1 | /**************************************************************************;
|
| 2 | ;* *;
|
| 3 | ;* *;
|
| 4 | ;* Intel Corporation - ACPI Reference Code for the Sandy Bridge *;
|
| 5 | ;* Family of Customer Reference Boards. *;
|
| 6 | ;* *;
|
| 7 | ;* *;
|
David Wei | b2499fe | 2015-01-28 08:45:52 +0000 | [diff] [blame] | 8 | ;* Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved *;
|
David Wei | 3cbfba0 | 2015-01-12 09:37:20 +0000 | [diff] [blame] | 9 | ;
|
| 10 | ; This program and the accompanying materials are licensed and made available under
|
| 11 | ; the terms and conditions of the BSD License that accompanies this distribution.
|
| 12 | ; The full text of the license may be found at
|
| 13 | ; http://opensource.org/licenses/bsd-license.php.
|
| 14 | ;
|
| 15 | ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 16 | ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 17 | ;
|
| 18 | ;* *;
|
| 19 | ;* *;
|
| 20 | ;**************************************************************************/
|
| 21 |
|
| 22 | DefinitionBlock (
|
| 23 | "DSDT.aml",
|
| 24 | "DSDT",
|
| 25 | 0x02, // DSDT revision.
|
| 26 | "OEMID", // OEM ID (6 byte string)
|
| 27 | "VLV-SOC", // OEM table ID (8 byte string)
|
| 28 | 0x0 // OEM version of DSDT table (4 byte Integer)
|
| 29 | )
|
| 30 |
|
| 31 | // BEGIN OF ASL SCOPE
|
| 32 | {
|
| 33 | External(MDBG, MethodObj)
|
| 34 |
|
| 35 | Method(ADBG, 1, Serialized)
|
| 36 | {
|
| 37 |
|
| 38 | If(CondRefOf(MDBG)) //check if SSDT is loaded
|
| 39 | {
|
| 40 | Return(MDBG(Arg0))
|
| 41 | }
|
| 42 |
|
| 43 | Return(0)
|
| 44 | }
|
| 45 |
|
| 46 |
|
| 47 | // Miscellaneous services enabled in Project
|
| 48 | include ("token.asl")
|
| 49 | include ("GloblNvs.asl")
|
| 50 | include ("PciTree.asl")
|
| 51 | include ("Pch.asl")
|
| 52 | include ("Vlv.asl")
|
| 53 | include ("CPU.asl")
|
| 54 | include ("Platform.asl")
|
| 55 | include ("THERMAL.ASL")
|
| 56 | include ("PCI_DRC.ASL")
|
| 57 | include ("Video.asl")
|
| 58 | include ("Gpe.asl")
|
David Wei | b2499fe | 2015-01-28 08:45:52 +0000 | [diff] [blame] | 59 | //include ("IoTVirtualDevice.asl")
|
David Wei | 3cbfba0 | 2015-01-12 09:37:20 +0000 | [diff] [blame] | 60 |
|
| 61 | // Sleep states supported by Chipset/Board.
|
| 62 | // SSx - BIOS setup controlled enabled _Sx Sleep state status
|
| 63 | // Values to be written to SLP_TYPE register are provided by SBACPI.SDL (South Bridge ACPI ModulePart)
|
| 64 |
|
| 65 | Name(\_S0, Package(4) {0x0,0x0,0,0}) // mandatory System state
|
| 66 | Name(\_S1, Package(4) {0x1,0x0,0,0})
|
| 67 | Name(\_S3, Package(4) {0x5,0x0,0,0})
|
| 68 | Name(\_S4, Package(4) {0x6,0x0,0,0})
|
| 69 | Name(\_S5, Package(4) {0x7,0x0,0,0}) // mandatory System state
|
| 70 |
|
| 71 | Method(PTS, 1) // METHOD CALLED FROM _PTS PRIOR TO ENTER ANY SLEEP STATE
|
| 72 | {
|
| 73 | If(Arg0) // entering any sleep state
|
| 74 | {
|
| 75 | }
|
| 76 | }
|
| 77 | Method(WAK, 1) // METHOD CALLED FROM _WAK RIGHT AFTER WAKE UP
|
| 78 | {
|
| 79 | }
|
| 80 |
|
| 81 | }// End of ASL File
|