; ==================================================================
;
; AmdLLD.inf: Installation file for the AMD Low Level Device Driver.
;
; ========== Copyright © 2006 AMD. All rights reserved. ============
 
 
[Version] 
Signature="$WINDOWS NT$"
Class=System
ClassGUID={4d36e97d-e325-11ce-bfc1-08002be10318} 
Provider=%AMD% 
CatalogFile=AmdLLD.cat
DriverVer=06/29/2007,1.0.1.0

[DestinationDirs]
AmdLLD.Files=12
AmdLLD64.Files=12

[SourceDisksNames]
1=%AmdLLD_Disk%,,0

[SourceDisksFiles]
AmdLLD.sys=1
AmdLLD64.sys=1

[Manufacturer] 
%AMD%=AMD,NTamd64


; ================================== 32-Bit NT Driver ==================================

[AMD]
%AmdLLD_Desc%=AmdLLD_Inst,*AMDLLDDEV

[AmdLLD_Inst.ntx86] 
CopyFiles= AmdLLD.Files

[AmdLLD_Inst.ntx86.Services] 
AddService= AmdLLD,0x00000002,AmdLLD_Service_Inst,AmdLLD_EventLog_Inst

[AmdLLD_Service_Inst]
DisplayName=%AmdLLD_Desc%
ServiceType= %SERVICE_KERNEL_DRIVER% 
StartType= %SERVICE_DEMAND_START% 
ErrorControl= %SERVICE_ERROR_NORMAL% 
ServiceBinary= %12%\AmdLLD.sys 

[AmdLLD_EventLog_Inst]
AddReg = AmdLLD_EventLog_Inst.AddReg

[AmdLLD_EventLog_Inst.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\AmdLLD.sys"
HKR,,TypesSupported,%REG_DWORD%,7

[AmdLLD.Files] 
AmdLLD.sys

[AmdLLD_Inst.ntx86.HW]
AddReg = AmdLLD_Inst.ntx86.AddReg

[AmdLLD_Inst.ntx86.AddReg]
HKLM,"System\CurrentControlSet\Services\AmdLLD",AmdLLD,,


; ================================== 64-Bit NT Driver ==================================

[AMD.NTamd64]
%AmdLLD_Desc%=AmdLLD64_Inst,*AMDLLDDEV

[AmdLLD64_Inst] 
CopyFiles= AmdLLD64.Files

[AmdLLD64_Inst.Services] 
AddService= AmdLLD64,0x00000002,AmdLLD64_Service,AmdLLD64_EventLog_Inst

[AmdLLD64_Service]
DisplayName=%AmdLLD_Desc%
ServiceType= %SERVICE_KERNEL_DRIVER% 
StartType= %SERVICE_DEMAND_START%
ErrorControl= %SERVICE_ERROR_NORMAL% 
ServiceBinary= %12%\AmdLLD64.sys 

[AmdLLD64_EventLog_Inst]
AddReg = AmdLLD64_EventLog_Inst.AddReg

[AmdLLD64_EventLog_Inst.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\AmdLLD64.sys"
HKR,,TypesSupported,%REG_DWORD%,7

[AmdLLD64.Files] 
AmdLLD64.sys

[AmdLLD64_Inst.HW]
AddReg = AmdLLD64_Inst.AddReg

[AmdLLD64_Inst.AddReg]
HKLM,"System\CurrentControlSet\Services\AmdLLD64",AmdLLD64,,


;  ================================== Localizable Strings ===============================

[Strings] 
AMD= "Advanced Micro Devices" 
AmdLLD_Disk= "AMD Low Level Device Driver Disk" 
AmdLLD_Desc= "AMD Low Level Device Driver" 


;  ================================== Non Localizable Strings ===========================

SERVICE_BOOT_START = 0x0 
SERVICE_SYSTEM_START = 0x1 
SERVICE_AUTO_START = 0x2 
SERVICE_DEMAND_START = 0x3 
SERVICE_DISABLED = 0x4 

SERVICE_KERNEL_DRIVER = 0x1 
SERVICE_ERROR_IGNORE = 0x0 
SERVICE_ERROR_NORMAL = 0x1 
SERVICE_ERROR_SEVERE = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ = 0x00020000 
REG_DWORD = 0x00010001 
