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