Upload BSD-licensed Vlv2TbltDevicePkg and Vlv2DeviceRefCodePkg to
https://svn.code.sf.net/p/edk2/code/trunk/edk2/, which are for MinnowBoard MAX open source project. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Wei <david.wei@intel.com> Reviewed-by: Mike Wu <mike.wu@intel.com> Reviewed-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16599 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
81
Vlv2TbltDevicePkg/Include/Protocol/EnhancedSpeedstep.h
Normal file
81
Vlv2TbltDevicePkg/Include/Protocol/EnhancedSpeedstep.h
Normal file
@@ -0,0 +1,81 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
|
||||
This program and the accompanying materials are licensed and made available under
|
||||
|
||||
the terms and conditions of the BSD License that accompanies this distribution.
|
||||
|
||||
The full text of the license may be found at
|
||||
|
||||
http://opensource.org/licenses/bsd-license.php.
|
||||
|
||||
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Module Name:
|
||||
|
||||
EnhancedSpeedstep.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Enhanced Speedstep protocol
|
||||
|
||||
The Enhanced Speedstep Protocol support.
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _ENHANCED_SPEEDSTEP_H_
|
||||
#define _ENHANCED_SPEEDSTEP_H_
|
||||
|
||||
#define ENHANCED_SPEEDSTEP_PROTOCOL_GUID \
|
||||
{ \
|
||||
0x91a1ddcf, 0x5374, 0x4939, 0x89, 0x51, 0xd7, 0x29, 0x3f, 0x1a, 0x78, 0x6f \
|
||||
}
|
||||
|
||||
typedef struct _ENHANCED_SPEEDSTEP_PROTOCOL ENHANCED_SPEEDSTEP_PROTOCOL;
|
||||
|
||||
typedef struct {
|
||||
UINT8 Version; // EIST State format
|
||||
UINT8 Size; // Size of element
|
||||
UINT32 RatioStep; // Step
|
||||
UINT32 MinRatio; // Calculated min ratio
|
||||
UINT32 MaxRatio; // Calculated max ratio
|
||||
UINT32 MinCoreFreq; // Calculated min freq
|
||||
UINT32 MaxCoreFreq; // Calculated max freq
|
||||
UINT32 MinPower; // Calculated min power
|
||||
UINT32 MaxPower; // Calculated max power
|
||||
UINT32 NumStates; // Number of states
|
||||
} EIST_INFORMATION;
|
||||
|
||||
typedef struct {
|
||||
UINT32 CoreFrequency;
|
||||
UINT32 Power;
|
||||
UINT32 TransitionLatency;
|
||||
UINT32 BusMasterLatency;
|
||||
UINT32 Control;
|
||||
UINT32 Status;
|
||||
} EFI_ACPI_CPU_PSS_STATE;
|
||||
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *GET_EIST_TABLE) (
|
||||
IN ENHANCED_SPEEDSTEP_PROTOCOL *This,
|
||||
OUT EIST_INFORMATION **EistInformation,
|
||||
OUT VOID **PssStates
|
||||
);
|
||||
|
||||
struct _ENHANCED_SPEEDSTEP_PROTOCOL {
|
||||
UINT32 ProcApicId;
|
||||
GET_EIST_TABLE GetEistTable;
|
||||
};
|
||||
|
Reference in New Issue
Block a user