;/******************************************************************************
;** INTEL CONFIDENTIAL
;** Copyright (2000) (2012) Intel Corporation All Rights Reserved.
;**
;** The source code contained or described herein and all documents related 
;** to the source code ("Material") are owned by Intel Corporation or its 
;** suppliers or licensors. Title to the Material remains with Intel Corporation 
;** or its suppliers and licensors. The Material may contain trade secrets and 
;** proprietary and confidential information of Intel Corporation and its 
;** suppliers and licensors, and is protected by worldwide copyright and trade 
;** secret laws and treaty provisions. No part of the Material may be used, 
;** copied, reproduced, modified, published, uploaded, posted, transmitted, 
;** distributed, or disclosed in any way without Intel’s prior express written 
;** permission. 
;**
;** No license under any patent, copyright, trade secret or other 
;** intellectual property right is granted to or conferred upon you by 
;** disclosure or delivery of the Materials, either expressly, by implication, 
;** inducement, estoppel or otherwise. Any license under such intellectual 
;** property rights must be express and approved by Intel in writing.
;******************************************************************************/

[version]
Signature       = "$Windows NT$"
Class           = System
ClassGUID       = {4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider        = %Mfg%
CatalogFile		= intelpcc.cat
DriverVer       = 02/12/2013, 01.00.00.1009

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%Mfg%           = IntelDevice, NTx86.6.2, NTamd64.6.2, NTx86, NTamd64

[IntelDevice.NTx86.6.2]
%INTELPCC.DeviceDesc% = IntelHSWPcc,*INT340F

[IntelDevice.NTamd64.6.2]
%INTELPCC.DeviceDesc% = IntelHSWPcc,*INT340F

;**************************************************************************
; Do-nothing section used to avoid "Unknown hardware" installation prompts
; on non-supported OS versions.

[IntelDevice.NTx86]

[IntelDevice.NTx86.Services]

[IntelDevice.NTamd64]

[IntelDevice.NTamd64.Services]

;----------------------------------------------------------------------
; NT install sections for HSW:
;----------------------------------------------------------------------
[IntelHSWPcc]
CopyFiles       = IntelHSWPcc.CopyDriver
AddPowerSetting = IntelHSWPccPlanSettings1
AddPowerSetting = IntelHSWPccPlanSettings2

[IntelHSWPcc.CopyDriver]
IntelPcc.sys,,,2

[IntelHSWPcc.Services]
AddService      = IntelHSWPcc,2,IntelHSWPccDriverService

;----------------------------------------------------------------------
; Have CPPC driver loaded as a boot start driver
;----------------------------------------------------------------------
[IntelHSWPccDriverService]
ServiceType     = %SERVICE_KERNEL_DRIVER%
StartType       = %SERVICE_BOOT_START%
ErrorControl    = %SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\IntelPcc.sys
AddReg          = IntelHSWPcc.AddReg
DelReg          = IntelHSWPcc.DelReg

;----------------------------------------------------------------------
; Registry section
;----------------------------------------------------------------------
[IntelHSWPcc.AddReg]
HKR, Parameters,,,
HKR, Parameters, WA_UseP0MaxRatio, %REG_DWORD%, 1
HKR, Parameters, EvaluationInterval, %REG_DWORD%, 500
HKR, Parameters, EvaluationStartTime, %REG_DWORD%, 50
HKR, Parameters, EnergyEfficiencyPolicyGTSensitive, %REG_DWORD%, 0
HKR, Parameters, EnergyEfficiencyThresholdPercent, %REG_DWORD%, 75
HKR, Parameters, EnergyEfficiencyHysteresisPercent, %REG_DWORD%, 5
HKR, Parameters, PerformanceThresholdPercent, %REG_DWORD%, 90
HKLM, "SYSTEM\CurrentControlSet\Control\Power",PerfBoostAtGuaranteed,%REG_DWORD%,1
     
[IntelHSWPcc.DelReg]

;----------------------------------------------------------------------
; OS power plan section
;----------------------------------------------------------------------
[IntelHSWPccPlanSettings1]
Subgroup = {24938CE5-14A5-46D6-859E-227AC9853880}, "Intel CPPC Energy Efficiency Settings", "Configure Intel CPPC Energy Efficiency Settings"
Setting = {497350CF-03A7-4FD1-871A-8BE0D67FCE86}, "Enable Energy Efficient Optimization", "Specify whether CPPC Driver should enable Energy Efficiency optimization, which may impact performance"
Value = 0, "Enabled", "Enabled", %REG_DWORD%, 0
Value = 1, "Disabled", "Disabled", %REG_DWORD%, 1
Default = %GUID_MAX_POWER_SAVINGS%, %AC%, 0
Default = %GUID_MAX_POWER_SAVINGS%, %DC%, 0
Default = %GUID_TYPICAL_POWER_SAVINGS%, %AC%, 1
Default = %GUID_TYPICAL_POWER_SAVINGS%, %DC%, 0
Default = %GUID_MIN_POWER_SAVINGS%, %AC%, 1
Default = %GUID_MIN_POWER_SAVINGS%, %DC%, 1

[IntelHSWPccPlanSettings2]
Subgroup = {24938CE5-14A5-46D6-859E-227AC9853880}, "Intel CPPC Energy Efficiency Settings", "Configure Intel CPPC Energy Efficiency Settings"
Setting = {80C4E615-3F57-42b9-A30F-A2F187063F42}, "Energy Efficiency Aggressiveness", "Specify Energy Efficiency Aggressiveness as a percentage, where 100% is Max Energy Efficiency and 0% is Max Performance"
ValueRange = 0, 100, 1, "%"
Default = %GUID_MAX_POWER_SAVINGS%, %AC%, 100
Default = %GUID_MAX_POWER_SAVINGS%, %DC%, 100
Default = %GUID_TYPICAL_POWER_SAVINGS%, %AC%, 0
Default = %GUID_TYPICAL_POWER_SAVINGS%, %DC%, 100
Default = %GUID_MIN_POWER_SAVINGS%, %AC%, 0
Default = %GUID_MIN_POWER_SAVINGS%, %DC%, 0

;----------------------------------------------------------------------
; Source file information
;----------------------------------------------------------------------

[SourceDisksNames]
1 = %DiskId%,,,""

[SourceDisksFiles]
IntelPcc.sys       	= 1,x32

[SourceDisksFiles.amd64]
IntelPcc.sys       	= 1,x64

;----------------------------------------------------------------------
; String Constants
;----------------------------------------------------------------------
[Strings]
REG_DWORD               = 0x00010001
REG_SZ					= 0x00000000
REG_MULTI_SZ			= 0x00010000
SERVICE_BOOT_START		= 0
SERVICE_DEMAND_START    = 3
SERVICE_KERNEL_DRIVER   = 1
SERVICE_ERROR_NORMAL    = 1
Mfg                     = "Intel"
INTELPCC.DeviceDesc = "Intel Collaborative Processor Performance Control (CPPC) Driver"
GUID_MAX_POWER_SAVINGS = "{a1841308-3541-4fab-bc81-f71556f20b4a}"
GUID_TYPICAL_POWER_SAVINGS = "{381b4222-f694-41f0-9685-ff5bb260df2e}"
GUID_MIN_POWER_SAVINGS = "{8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c}"
AC = 0
DC = 1

;
; Localizable Strings
;
DiskId                  = ""Intel  Collaborative  Processor Performance Control (CPPC) Driver""
