3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
17 Enhanced Speedstep protocol
19 The Enhanced Speedstep Protocol support.
23 #ifndef _ENHANCED_SPEEDSTEP_H_
24 #define _ENHANCED_SPEEDSTEP_H_
26 #define ENHANCED_SPEEDSTEP_PROTOCOL_GUID \
28 0x91a1ddcf, 0x5374, 0x4939, 0x89, 0x51, 0xd7, 0x29, 0x3f, 0x1a, 0x78, 0x6f \
31 typedef struct _ENHANCED_SPEEDSTEP_PROTOCOL ENHANCED_SPEEDSTEP_PROTOCOL
;
34 UINT8 Version
; // EIST State format
35 UINT8 Size
; // Size of element
36 UINT32 RatioStep
; // Step
37 UINT32 MinRatio
; // Calculated min ratio
38 UINT32 MaxRatio
; // Calculated max ratio
39 UINT32 MinCoreFreq
; // Calculated min freq
40 UINT32 MaxCoreFreq
; // Calculated max freq
41 UINT32 MinPower
; // Calculated min power
42 UINT32 MaxPower
; // Calculated max power
43 UINT32 NumStates
; // Number of states
49 UINT32 TransitionLatency
;
50 UINT32 BusMasterLatency
;
53 } EFI_ACPI_CPU_PSS_STATE
;
57 (EFIAPI
*GET_EIST_TABLE
) (
58 IN ENHANCED_SPEEDSTEP_PROTOCOL
*This
,
59 OUT EIST_INFORMATION
**EistInformation
,
63 struct _ENHANCED_SPEEDSTEP_PROTOCOL
{
65 GET_EIST_TABLE GetEistTable
;
69 // There will be an instance of this protocol for every processor
70 // in the system. ProcNumber is used to manage all the different
71 // processors in the system and passed into the MP protocol
72 // to run code streams on application processors
74 extern EFI_GUID gEnhancedSpeedstepProtocolGuid
;