2 CPU T-state control methods
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
25 External (PDC0, IntObj)
26 External (CFGD, FieldUnitObj)
27 External(\_PR.CPU0, DeviceObj)
34 Return(ZERO) // Return All States Available.
37 Name(TPTC, ResourceTemplate()
39 Memory32Fixed(ReadOnly, 0, 0, FIX1) // IO APIC
43 // If OSPM is capable of direct access to on demand throttling MSR,
44 // we use MSR method;otherwise we use IO method.
47 // PDCx[2] = Indicates whether OSPM is capable of direct access to
48 // on demand throttling MSR.
54 Return(Package() // MSR Method
56 ResourceTemplate(){Register(FFixedHW, 0, 0, 0)},
57 ResourceTemplate(){Register(FFixedHW, 0, 0, 0)}
61 Return(Package() // IO Method
64 // PM IO base ("PMBALVL0" will be updated at runtime)
66 ResourceTemplate(){Register(SystemIO, 4, 1, 0x304C564C41424D50)},
67 ResourceTemplate(){Register(SystemIO, 4, 1, 0x304C564C41424D50)}
73 // _TSS returned package for IO Method
77 Package(){100, 1000, 0, 0x00, 0}
81 // _TSS returned package for MSR Method
85 Package(){100, 1000, 0, 0x00, 0}
92 // If OSPM is capable of direct access to on demand throttling MSR,
93 // we report TSSM;otherwise report TSSI.
105 // If CMP is suppored, we report the dependency with two processors
107 If(LAnd(And(CFGD, 0x1000000), LNot(And(PDC0, 4))))
116 0xFD, // Coord Type- SW_ANY
123 // Otherwise, we report the dependency with one processor
132 0xFC, // Coord Type- SW_ALL