]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/INTELISPDev2.ASL
BaseTools/BinToPcd: Fix Python 2.7.x compatibility issue
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / INTELISPDev2.ASL
1 /*++
2
3 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
4
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php.
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13
14
15 Module Name:
16
17 INTELISPDev2.ASL
18
19 Abstract:
20
21 ISP Exist as B0D2F0 Software ACPI Reference Code for the Baytrail Family.
22
23 --*/
24 ////Device ISP0
25 Device(ISP0)
26 {
27 Name(_ADR, 0x0F38)
28 //Name (_HID, "80860F38")
29 //Name (_CID, "80860F38")
30 Name(_DDN, "VLV2 ISP - 80860F38")
31 Name(_UID, 0x01)
32
33 Method (_STA, 0, NotSerialized)
34 {
35 If(LEqual(ISPD,1)) //Dev2 need report ISP0 as GFX0 child
36 {
37 Return (0xF)
38 }
39 Else
40 {
41 Return (0x0)
42 }
43 }
44 Name(SBUF,ResourceTemplate ()
45 {
46 Memory32Fixed (ReadWrite, 0x00000000, 0x00400000, ISP0)
47 })
48 Method(_CRS, 0x0, NotSerialized)
49 {
50 Return (SBUF)
51 }
52 Method (_SRS, 0x1, NotSerialized)
53 {
54 }
55 Method (_DIS, 0x0, NotSerialized)
56 {
57 }
58 Method(_DSM, 0x4, NotSerialized)
59 {
60 If (LEqual (Arg0, 0x01))
61 {
62 ///Switch ISP to D3H
63 Return (0x01)
64 }
65 Elseif (LEqual (Arg0, 0x02))
66 {
67 //Switch ISP to D0
68 Return (0x02)
69 }
70 Else
71 {
72 //Do nothing
73 Return (0x0F)
74 }
75 }
76 } ///End ISP0
77