Code:
;/*++
;
;Copyright (c) Infineon TEchnologies AG. All rights reserved.
;
;Module Name:
;
; IFXTPM.INF
;
;Abstract:
; INF file for installing TPM device drivers
;
;--*/
[Version]
Signature=$Windows NT$
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%MFGNAME%
CatalogFile=IFXTPM.cat
DriverVer=04/18/2006,1.80.0004.00
[DestinationDirs]
DefaultDestDir=12 ;it's %windir/system32/drivers
Win2KCopyDriver = 12
WinXPCopyDriver = 12
WinNTamd64CopyDriver = 12
[SourceDisksNames]
1=%INSTDISK%,
[SourceDisksFiles]
IFXTPM.SYS=1
[SourceDisksFiles.amd64]
IFXTPM.SYS=1, amd64
[Manufacturer]
%MFGNAME%=Company, NT.5.1, NTamd64
[Company]
%DEVICEDESCRIPTION% = DriverInstall,ACPI\IFX0101,ACPI\IFX0102,*IFX0101,*IFX0102,IFX0000
[Company.NT.5.1]
%DEVICEDESCRIPTIONXP% = DriverInstallXP,ACPI\IFX0101,ACPI\IFX0102,*IFX0101,*IFX0102,IFX0000
[Company.NTamd64]
%DEVICEDESCRIPTIONXPAMD64% = DriverInstallXPAMD64,ACPI\IFX0101,ACPI\IFX0102,*IFX0101,*IFX0102,IFX0000
[ControlFlags]
;ExcludeFromSelect = ACPI\IFX0101
;------------------------------------------------------------------------------
; Windows 2000 Sections
;------------------------------------------------------------------------------
[DriverInstall.NTx86]
AddReg=CommonAddReg
DelReg=CommonDelReg
CopyFiles=Win2KCopyDriver
LogConfig=PortIO.LC0
[Win2KCopyDriver]
ifxtpm.sys
[DriverInstall.NTx86.Services]
AddService=IFXTPM,2,Win2KServiceInstallSection,EventLogging
[Win2KServiceInstallSection]
DisplayName = IFXTPM
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\IFXTPM.SYS
[EventLogging]
AddReg=EventLogAddReg
[EventLogAddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\Ifxtpm.sys"
HKR,,TypesSupported,0x00010001,7
[DriverInstall.NTx86.hw]
AddReg=DriverHwAddReg.NTx86
[DriverHwAddReg.NTx86]
HKR,,FriendlyName,,%FRIENDLYNAME%
;------------------------------------------------------------------------------
; Windows XP Sections
;------------------------------------------------------------------------------
[DriverInstallXP.NT]
AddReg=CommonAddReg
DelReg=CommonDelReg
CopyFiles=WinXPCopyDriver
LogConfig=PortIO.LC0
[WinXPCopyDriver]
ifxtpm.sys
[DriverInstallXP.NT.Services]
AddService=IFXTPM,2,WinXPServiceInstallSection,EventLoggingXP
[WinXPServiceInstallSection]
DisplayName = IFXTPM
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\IFXTPM.SYS
[EventLoggingXP]
AddReg=EventLogAddRegXP
[EventLogAddRegXP]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\Ifxtpm.sys"
HKR,,TypesSupported,0x00010001,7
[DriverInstallXP.nt.hw]
AddReg=DriverHwAddRegXP
[DriverHwAddRegXP]
HKR,,FriendlyName,,%FRIENDLYNAME%
;------------------------------------------------------------------------------
; Windows XP NTamd64 Sections
;------------------------------------------------------------------------------
[DriverInstallXPAMD64.NTamd64]
AddReg=CommonAddReg
DelReg=CommonDelReg
CopyFiles=WinNTamd64CopyDriver
LogConfig=PortIO.LC0
[WinNTamd64CopyDriver]
ifxtpm.sys
[DriverInstallXPAMD64.NTamd64.Services]
AddService=IFXTPM,2,WinNTamd64ServiceInstallSection,EventLoggingNTamd64
[WinNTamd64ServiceInstallSection]
DisplayName = IFXTPM
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\IFXTPM.SYS
[EventLoggingNTamd64]
AddReg=EventLogAddRegNTamd64
[EventLogAddRegNTamd64]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\Ifxtpm.sys"
HKR,,TypesSupported,0x00010001,7
[DriverInstallXPAMD64.NTamd64.hw]
AddReg=DriverHwAddRegNTamd64
[DriverHwAddRegNTamd64]
HKR,,FriendlyName,,%FRIENDLYNAME%
;------------------------------------------------------------------------------
; Common Sections
;------------------------------------------------------------------------------
[CommonAddReg]
HKLM,"%REG_PATH_IFXTPM_PARAMS%","InitHW",0x00010001,0
HKLM,"%REG_PATH_IFXTPM_PARAMS%","InterruptModus",0x00010001,0
[CommonDelReg]
HKLM,"%REG_PATH_IFXTPM_PARAMS%","SerIRQModus"
HKLM,"%REG_PATH_IFXTPM_PARAMS%","LogEvent"
HKLM,"%REG_PATH_IFXTPM_PARAMS%","LogPerformance"
HKLM,"%REG_PATH_IFXTPM_PARAMS%","PollingDelay"
HKLM,"%REG_PATH_IFXTPM_PARAMS%","PollingSendReceiveDelay"
HKLM,"%REG_PATH_IFXTPM_PARAMS%","FirmwareDownLoadDelay"
HKLM,"%REG_PATH_IFXTPM_PARAMS%","FirmwareDownLoadSendReceiveDelay"
HKLM,"%REG_PATH_IFXTPM_CLASS_PARAMS%"
[PortIO.LC0]
ConfigPriority=NORMAL
IOConfig=04C0-04C7(FFFF::), 4700-4707(FFFF::)
IRQConfig=5,6,7,8,9,10,11,12,13,14,15
;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------
[Strings]
MFGNAME="Infineon Technologies AG"
INSTDISK="Infineon Technologies AG Installation Disc"
DEVICEDESCRIPTION="Windows 2000 / Windows 2000 Server device driver for the Infineon Trusted Platform Module"
DEVICEDESCRIPTIONXP="Windows XP / Windows Server 2003 device driver for the Infineon Trusted Platform Module"
DEVICEDESCRIPTIONXPAMD64="Windows XP (x64)/ Windows Server 2003 (x64) device driver for the Infineon Trusted Platform Module"
FRIENDLYNAME="Infineon Trusted Platform Module"
CLASSNAME="Trusted Platform Modules"
REG_PATH_IFXTPM_PARAMS = "SYSTEM\CurrentControlSet\Services\IFXTPM"
REG_PATH_IFXTPM_CLASS_PARAMS = "SYSTEM\CurrentControlSet\Control\Class\{A75750F8-4FAB-4813-A873-A36C44AB2635}"