;-------------------------------------------------------------------------------
; INTEL CONFIDENTIAL
;
; Copyright (c) 2013-2019 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 contains trade secrets and proprietary 
; and confidential information of Intel or its suppliers and licensors. The 
; Material 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 
; expressed and approved by Intel in writing.
;------------------------------------------------------------------------------

[Version] 
Signature = "$WINDOWS NT$" 
Class=System
ClassGUID={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%INTEL% 
CatalogFile=dptf_acpi.cat
DriverVer = 06/14/2019,8.6.10401.9906

;----------------------------------------------------------------------
; File Information
;----------------------------------------------------------------------

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

[SourceDisksFiles.amd64]
dptf_acpi.sys=1,,

[DestinationDirs]
DefaultDestDir=12
CopyDriver = 13
CopyDriverLegacy = 12

;-------------------------------------------------------------------------------
; Manufacturer and Models Section
;-------------------------------------------------------------------------------

[Manufacturer]
%INTEL% = INTEL,NTamd64.10.0...17134,NTamd64.10.0

[INTEL.NTamd64.10.0...17134]
%INT3400.DeviceDesc%  = DptfAcpi,ACPI\INT3400
%INT3401.DeviceDesc%  = DptfAcpi,ACPI\INT3401
%INT3402.DeviceDesc%  = DptfAcpi,ACPI\INT3402
%INT3403.DeviceDesc%  = DptfAcpi,ACPI\INT3403
%INT3404.DeviceDesc%  = DptfAcpi,ACPI\INT3404
%INT3405.DeviceDesc%  = DptfAcpi,ACPI\INT3405
%INT3406.DeviceDesc%  = DptfAcpi,ACPI\INT3406
%INT3407.DeviceDesc%  = DptfAcpi,ACPI\INT3407
%INT3408.DeviceDesc%  = DptfAcpi,ACPI\INT3408
%INT3409.DeviceDesc%  = DptfAcpi,ACPI\INT3409
%INT340A.DeviceDesc%  = DptfAcpi,ACPI\INT340A
%INT340B.DeviceDesc%  = DptfAcpi,ACPI\INT340B
%INT340C.DeviceDesc%  = DptfAcpi,ACPI\INT340C
%INT340D.DeviceDesc%  = DptfAcpi,ACPI\INT340D
%INT343D.DeviceDesc%  = DptfAcpi,ACPI\INT343D
%INT3530.DeviceDesc%  = DptfAcpi,ACPI\INT3530
%INT3532.DeviceDesc%  = DptfAcpi,ACPI\INT3532

[INTEL.NTamd64.10.0]
%INT3400.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3400
%INT3401.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3401
%INT3402.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3402
%INT3403.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3403
%INT3404.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3404
%INT3405.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3405
%INT3406.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3406
%INT3407.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3407
%INT3408.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3408
%INT3409.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3409
%INT340A.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT340A
%INT340B.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT340B
%INT340C.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT340C
%INT340D.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT340D
%INT343D.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT343D
%INT3530.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3530
%INT3532.DeviceDesc%  = DptfAcpiLegacy,ACPI\INT3532

;------------------------------------------------------------------------------
; DptfAcpi
;------------------------------------------------------------------------------

[DptfAcpi.NTamd64]
CopyFiles=CopyDriver

[DptfAcpiLegacy.NTamd64]
CopyFiles=CopyDriverLegacy

[CopyDriver]
dptf_acpi.sys,,,2

[CopyDriverLegacy]
dptf_acpi.sys,,,2

[DptfAcpi.NTamd64.Services]
AddService = dptf_acpi,2,DptfAcpiDriverService, DptfAcpiEtw_Install, System, dptf_acpi

[DptfAcpiLegacy.NTamd64.Services]
AddService = dptf_acpi,2,DptfAcpiDriverServiceLegacy, DptfAcpiEtwLegacy_Install, System, dptf_acpi

[DptfAcpiDriverService]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %13%\dptf_acpi.sys
LoadOrderGroup = Base

[DptfAcpiDriverServiceLegacy]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\dptf_acpi.sys
LoadOrderGroup = Base

[DptfAcpi.NTamd64.Wdf]
KmdfService = dptf_acpi, KMDFVersion

[DptfAcpiLegacy.NTamd64.Wdf]
KmdfService = dptf_acpi, KMDFVersion

[KMDFVersion]
KmdfLibraryVersion = 1.11

;----------------------------------------------------------------------
; ETW Support compontents
;----------------------------------------------------------------------

[DptfAcpiEtw_Install]
AddReg=DptfAcpiEtw_AddReg

[DptfAcpiEtwLegacy_Install]
AddReg=DptfAcpiEtwLegacy_AddReg

[DptfAcpiEtw_AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{5885720D-F086-4614-A17C-4770C2461AF2}",,%FLG_ADDREG_TYPE_SZ%,"DptfAcpiEtwProvider"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{5885720D-F086-4614-A17C-4770C2461AF2}","ResourceFileName",%REG_EXPAND_SZ%,"%13%\dptf_acpi.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{5885720D-F086-4614-A17C-4770C2461AF2}","MessageFileName",%REG_EXPAND_SZ%,"%13%\dptf_acpi.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{5885720D-F086-4614-A17C-4770C2461AF2}","Enabled",%FLG_ADDREG_TYPE_DWORD%,1

[DptfAcpiEtwLegacy_AddReg]
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{5885720D-F086-4614-A17C-4770C2461AF2}",,%FLG_ADDREG_TYPE_SZ%,"DptfAcpiEtwProvider"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{5885720D-F086-4614-A17C-4770C2461AF2}","ResourceFileName",%REG_EXPAND_SZ%,"%%SystemRoot%%\system32\drivers\dptf_acpi.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{5885720D-F086-4614-A17C-4770C2461AF2}","MessageFileName",%REG_EXPAND_SZ%,"%%SystemRoot%%\system32\drivers\dptf_acpi.sys"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{5885720D-F086-4614-A17C-4770C2461AF2}","Enabled",%FLG_ADDREG_TYPE_DWORD%,1

;----------------------------------------------------------------------
; Strings and Constants
;----------------------------------------------------------------------

[Strings]
SERVICE_DEMAND_START  = 3
SERVICE_KERNEL_DRIVER = 1
SERVICE_ERROR_NORMAL  = 1

FLG_ADDREG_TYPE_SZ = 0x00000000
REG_EXPAND_SZ = 0x00020000
FLG_ADDREG_TYPE_DWORD = 0x00010001

INTEL = "Intel"
DiskName = "Intel(R) Dynamic Tuning"

INT3400.DeviceDesc  = "Intel(R) Dynamic Tuning Manager"
INT3401.DeviceDesc  = "Intel(R) Dynamic Tuning Processor Participant"
INT3402.DeviceDesc  = "Intel(R) Dynamic Tuning Memory Participant"
INT3403.DeviceDesc  = "Intel(R) Dynamic Tuning Generic Participant"
INT3404.DeviceDesc  = "Intel(R) Dynamic Tuning Fan Participant"
INT3405.DeviceDesc  = "Intel(R) Dynamic Tuning PCH ACPI Participant"
INT3406.DeviceDesc  = "Intel(R) Dynamic Tuning Display Participant"
INT3407.DeviceDesc  = "Intel(R) Dynamic Tuning Power Participant"
INT3408.DeviceDesc  = "Intel(R) Dynamic Tuning Wireless Participant"
INT3409.DeviceDesc  = "Intel(R) Dynamic Tuning Ambient Temperature Sensor Participant"
INT340A.DeviceDesc  = "Intel(R) Dynamic Tuning Storage Participant"
INT340B.DeviceDesc  = "Intel(R) Dynamic Tuning Camera Participant"
INT340C.DeviceDesc  = "Intel(R) Dynamic Tuning Thunderbolt Participant"
INT340D.DeviceDesc  = "Intel(R) Dynamic Tuning Multi-Chip Discrete Graphics(DGFX) Participant"
INT343D.DeviceDesc  = "Intel(R) Dynamic Tuning PCH SPT ACPI Participant"
INT3530.DeviceDesc  = "Intel(R) Dynamic Tuning Multi-Chip Package Participant"
INT3532.DeviceDesc  = "Intel(R) Dynamic Tuning Battery Participant"



