]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/Ssdt/ApCst.asl
Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / CPU / PowerManagement / AcpiTables / Ssdt / ApCst.asl
diff --git a/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/Ssdt/ApCst.asl b/Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/Ssdt/ApCst.asl
new file mode 100644 (file)
index 0000000..185750e
--- /dev/null
@@ -0,0 +1,116 @@
+/*-----------------------------------------------------------------------------\r
+-------------------------------------------------------------------------------\r
+\r
+\r
+ Intel Silvermont Processor Power Management BIOS Reference Code\r
+\r
+ Copyright (c) 2006 - 2014, Intel Corporation\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
+ Filename:      CPU1CST.ASL\r
+\r
+ Revision:      Refer to Readme\r
+\r
+ Date:          Refer to Readme\r
+\r
+--------------------------------------------------------------------------------\r
+-------------------------------------------------------------------------------\r
+\r
+ This Processor Power Management BIOS Source Code is furnished under license\r
+ and may only be used or copied in accordance with the terms of the license.\r
+ The information in this document is furnished for informational use only, is\r
+ subject to change without notice, and should not be construed as a commitment\r
+ by Intel Corporation. Intel Corporation assumes no responsibility or liability\r
+ for any errors or inaccuracies that may appear in this document or any\r
+ software that may be provided in association with this document.\r
+\r
+ Except as permitted by such license, no part of this document may be\r
+ reproduced, stored in a retrieval system, or transmitted in any form or by\r
+ any means without the express written consent of Intel Corporation.\r
+\r
+ WARNING: You are authorized and licensed to install and use this BIOS code\r
+ ONLY on an IST PC. This utility may damage any system that does not\r
+ meet these requirements.\r
+\r
+        An IST PC is a computer which\r
+        (1) Is capable of seamlessly and automatically transitioning among\r
+        multiple performance states (potentially operating at different\r
+        efficiency ratings) based upon power source changes, END user\r
+        preference, processor performance demand, and thermal conditions; and\r
+        (2) Includes an Intel Pentium II processors, Intel Pentium III\r
+        processor, Mobile Intel Pentium III Processor-M, Mobile Intel Pentium 4\r
+        Processor-M, Intel Pentium M Processor, or any other future Intel\r
+        processors that incorporates the capability to transition between\r
+        different performance states by altering some, or any combination of,\r
+        the following processor attributes: core voltage, core frequency, bus\r
+        frequency, number of processor cores available, or any other attribute\r
+        that changes the efficiency (instructions/unit time-power) at which the\r
+        processor operates.\r
+\r
+-------------------------------------------------------------------------------\r
+-------------------------------------------------------------------------------\r
+\r
+NOTES:\r
+        (1) <TODO> - IF the trap range and port definitions do not match those\r
+        specified by this reference code, this file must be modified IAW the\r
+        individual implmentation.\r
+\r
+--------------------------------------------------------------------------------\r
+------------------------------------------------------------------------------*/\r
+\r
+\r
+DefinitionBlock (\r
+        "APCST.aml",\r
+        "SSDT",\r
+        1,\r
+        "PmRef",\r
+        "ApCst",\r
+        0x3000\r
+        )\r
+{\r
+External(\_PR.CPU1, DeviceObj)\r
+External(\_PR.CPU2, DeviceObj)\r
+External(\_PR.CPU3, DeviceObj)\r
+External(\_PR.CPU0._CST)\r
+\r
+        Scope(\_PR.CPU1)\r
+        {\r
+                Method(_CST,0)\r
+                {\r
+                        //\r
+                        // Return P0's _CST object.\r
+                        //\r
+                        Return(\_PR.CPU0._CST)\r
+                }\r
+        }\r
+\r
+        Scope(\_PR.CPU2)\r
+        {\r
+                Method(_CST,0)\r
+                {\r
+                        //\r
+                        // Return P0's _CST object.\r
+                        //\r
+                        Return(\_PR.CPU0._CST)\r
+                }\r
+        }\r
+\r
+        Scope(\_PR.CPU3)\r
+        {\r
+                Method(_CST,0)\r
+                {\r
+                        //\r
+                        // Return P0's _CST object.\r
+                        //\r
+                        Return(\_PR.CPU0._CST)\r
+                }\r
+        }\r
+}  // End of Definition Block\r