]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/INTELISPDev2.ASL
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / INTELISPDev2.ASL
1 /*++
2
3 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
4
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7
8
9 Module Name:
10
11 INTELISPDev2.ASL
12
13 Abstract:
14
15 ISP Exist as B0D2F0 Software ACPI Reference Code for the Baytrail Family.
16
17 --*/
18 ////Device ISP0
19 Device(ISP0)
20 {
21 Name(_ADR, 0x0F38)
22 //Name (_HID, "80860F38")
23 //Name (_CID, "80860F38")
24 Name(_DDN, "VLV2 ISP - 80860F38")
25 Name(_UID, 0x01)
26
27 Method (_STA, 0, NotSerialized)
28 {
29 If(LEqual(ISPD,1)) //Dev2 need report ISP0 as GFX0 child
30 {
31 Return (0xF)
32 }
33 Else
34 {
35 Return (0x0)
36 }
37 }
38 Name(SBUF,ResourceTemplate ()
39 {
40 Memory32Fixed (ReadWrite, 0x00000000, 0x00400000, ISP0)
41 })
42 Method(_CRS, 0x0, NotSerialized)
43 {
44 Return (SBUF)
45 }
46 Method (_SRS, 0x1, NotSerialized)
47 {
48 }
49 Method (_DIS, 0x0, NotSerialized)
50 {
51 }
52 Method(_DSM, 0x4, NotSerialized)
53 {
54 If (LEqual (Arg0, 0x01))
55 {
56 ///Switch ISP to D3H
57 Return (0x01)
58 }
59 Elseif (LEqual (Arg0, 0x02))
60 {
61 //Switch ISP to D0
62 Return (0x02)
63 }
64 Else
65 {
66 //Do nothing
67 Return (0x0F)
68 }
69 }
70 } ///End ISP0
71