]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/ValleyView2Soc/CPU/PowerManagement/AcpiTables/Ssdt/ApIst.asl
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / CPU / PowerManagement / AcpiTables / Ssdt / ApIst.asl
CommitLineData
3cbfba02
DW
1/*-----------------------------------------------------------------------------\r
2-------------------------------------------------------------------------------\r
3\r
4\r
5 Intel Silvermont Processor Power Management BIOS Reference Code\r
6\r
7 Copyright (c) 2006 - 2014, Intel Corporation\r
8\r
7ede8060 9 SPDX-License-Identifier: BSD-2-Clause-Patent\r
3cbfba02
DW
10\r
11\r
12 Filename: APIST.ASL\r
13\r
14 Revision: Refer to Readme\r
15\r
16 Date: Refer to Readme\r
17\r
18--------------------------------------------------------------------------------\r
19-------------------------------------------------------------------------------\r
20\r
21 This Processor Power Management BIOS Source Code is furnished under license\r
22 and may only be used or copied in accordance with the terms of the license.\r
23 The information in this document is furnished for informational use only, is\r
24 subject to change without notice, and should not be construed as a commitment\r
25 by Intel Corporation. Intel Corporation assumes no responsibility or liability\r
26 for any errors or inaccuracies that may appear in this document or any\r
27 software that may be provided in association with this document.\r
28\r
29 Except as permitted by such license, no part of this document may be\r
30 reproduced, stored in a retrieval system, or transmitted in any form or by\r
31 any means without the express written consent of Intel Corporation.\r
32\r
33 WARNING: You are authorized and licensed to install and use this BIOS code\r
34 ONLY on an IST PC. This utility may damage any system that does not\r
35 meet these requirements.\r
36\r
37 An IST PC is a computer which\r
38 (1) Is capable of seamlessly and automatically transitioning among\r
39 multiple performance states (potentially operating at different\r
40 efficiency ratings) based upon power source changes, END user\r
41 preference, processor performance demand, and thermal conditions; and\r
42 (2) Includes an Intel Pentium II processors, Intel Pentium III\r
43 processor, Mobile Intel Pentium III Processor-M, Mobile Intel Pentium 4\r
44 Processor-M, Intel Pentium M Processor, or any other future Intel\r
45 processors that incorporates the capability to transition between\r
46 different performance states by altering some, or any combination of,\r
47 the following processor attributes: core voltage, core frequency, bus\r
48 frequency, number of processor cores available, or any other attribute\r
49 that changes the efficiency (instructions/unit time-power) at which the\r
50 processor operates.\r
51\r
52-------------------------------------------------------------------------------\r
53-------------------------------------------------------------------------------\r
54\r
55NOTES:\r
56 (1) <TODO> - IF the trap range and port definitions do not match those\r
57 specified by this reference code, this file must be modified IAW the\r
58 individual implmentation.\r
59\r
60--------------------------------------------------------------------------------\r
61------------------------------------------------------------------------------*/\r
62\r
63\r
64DefinitionBlock (\r
65 "APIST.aml",\r
66 "SSDT",\r
67 1,\r
68 "PmRef",\r
69 "ApIst",\r
70 0x3000\r
71 )\r
72{\r
73 External(\_PR.CPU0._PSS, MethodObj)\r
74 External(\_PR.CPU0._PCT, MethodObj)\r
75 External(\_PR.CPU0._PPC, IntObj)\r
76 External(\_PR.CPU0._PSD, MethodObj)\r
77 External(\_PR.CPU1, DeviceObj)\r
78 External(\_PR.CPU2, DeviceObj)\r
79 External(\_PR.CPU3, DeviceObj)\r
80 External (CFGD)\r
81 External (PDC0)\r
82\r
83 Scope(\_PR.CPU1)\r
84 {\r
85 Method(_PPC,0)\r
86 {\r
87 Return(\_PR.CPU0._PPC) // Return P0 _PPC value.\r
88 }\r
89\r
90 Method(_PCT,0)\r
91 {\r
92 Return(\_PR.CPU0._PCT) // Return P0 _PCT.\r
93 }\r
94\r
95 Method(_PSS,0)\r
96 {\r
97 //Return the same table as CPU0 for CMP cases.\r
98 Return(\_PR.CPU0._PSS)\r
99 }\r
100\r
101 // The _PSD object provides information to the OSPM related\r
102 // to P-State coordination between processors in a multi-processor\r
103 // configurations.\r
104 //\r
105 Method(_PSD,0)\r
106 {\r
107 Return(\_PR.CPU0._PSD) // Return P0 _PSD.\r
108 }\r
109 }\r
110\r
111 Scope(\_PR.CPU2)\r
112 {\r
113 Method(_PPC,0)\r
114 {\r
115 Return(\_PR.CPU0._PPC) // Return P0 _PPC value.\r
116 }\r
117\r
118 Method(_PCT,0)\r
119 {\r
120 Return(\_PR.CPU0._PCT) // Return P0 _PCT.\r
121 }\r
122\r
123 Method(_PSS,0)\r
124 {\r
125 //Return the same table as CPU0 for CMP cases.\r
126 Return(\_PR.CPU0._PSS)\r
127 }\r
128\r
129 // The _PSD object provides information to the OSPM related\r
130 // to P-State coordination between processors in a multi-processor\r
131 // configurations.\r
132 //\r
133 Method(_PSD,0)\r
134 {\r
135 Return(\_PR.CPU0._PSD) // Return P0 _PSD.\r
136 }\r
137 }\r
138\r
139 Scope(\_PR.CPU3)\r
140 {\r
141 Method(_PPC,0)\r
142 {\r
143 Return(\_PR.CPU0._PPC) // Return P0 _PPC value.\r
144 }\r
145\r
146 Method(_PCT,0)\r
147 {\r
148 Return(\_PR.CPU0._PCT) // Return P0 _PCT.\r
149 }\r
150\r
151 Method(_PSS,0)\r
152 {\r
153 //Return the same table as CPU0 for CMP cases.\r
154 Return(\_PR.CPU0._PSS)\r
155 }\r
156\r
157 // The _PSD object provides information to the OSPM related\r
158 // to P-State coordination between processors in a multi-processor\r
159 // configurations.\r
160 //\r
161 Method(_PSD,0)\r
162 {\r
163 Return(\_PR.CPU0._PSD) // Return P0 _PSD.\r
164 }\r
165 }\r
166} // End of Definition Block\r