]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/INTELISPDev2.ASL
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / INTELISPDev2.ASL
diff --git a/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/INTELISPDev2.ASL b/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/INTELISPDev2.ASL
new file mode 100644 (file)
index 0000000..280d6cb
--- /dev/null
@@ -0,0 +1,77 @@
+/*++\r
+\r
+Copyright (c)  1999  - 2014, Intel Corporation. All rights reserved\r
+\r
+  This program and the accompanying materials are licensed and made available under\r
+  the terms and conditions of the BSD License that accompanies this distribution.\r
+  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php.\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+\r
+\r
+Module Name:\r
+\r
+  INTELISPDev2.ASL\r
+\r
+Abstract:\r
+\r
+  ISP Exist as B0D2F0 Software ACPI Reference Code for the Baytrail Family.\r
+\r
+--*/\r
+////Device ISP0\r
+Device(ISP0)\r
+{\r
+  Name(_ADR, 0x0F38)\r
+  //Name (_HID, "80860F38")\r
+  //Name (_CID, "80860F38")\r
+  Name(_DDN, "VLV2 ISP - 80860F38")\r
+  Name(_UID, 0x01)\r
+\r
+  Method (_STA, 0, NotSerialized)\r
+  {\r
+    If(LEqual(ISPD,1))   //Dev2 need report ISP0 as GFX0 child\r
+    {\r
+      Return (0xF)\r
+    }\r
+    Else\r
+    {\r
+      Return (0x0)\r
+    }\r
+  }\r
+  Name(SBUF,ResourceTemplate ()\r
+  {\r
+    Memory32Fixed (ReadWrite, 0x00000000, 0x00400000, ISP0)\r
+  })\r
+  Method(_CRS, 0x0, NotSerialized)\r
+  {\r
+    Return (SBUF)\r
+  }\r
+  Method (_SRS, 0x1, NotSerialized)\r
+  {\r
+  }\r
+  Method (_DIS, 0x0, NotSerialized)\r
+  {\r
+  }\r
+  Method(_DSM, 0x4, NotSerialized)\r
+  {\r
+    If (LEqual (Arg0, 0x01))\r
+    {\r
+      ///Switch ISP to D3H\r
+      Return (0x01)\r
+    }\r
+    Elseif (LEqual (Arg0, 0x02))\r
+    {\r
+      //Switch ISP to D0\r
+      Return (0x02)\r
+    }\r
+    Else\r
+    {\r
+      //Do nothing\r
+      Return (0x0F)\r
+    }\r
+  }\r
+} ///End ISP0\r
+\r