;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;   PURPOSE.
;
;Module Name:
;
;    AmdSmf.INF
;
;Abstract:
;
;   Driver to provide SoC specific values to System Management Framework.
;

;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=AmdSmf.cat
DriverVer = 11/18/2020,20.0.3.1
PnpLockdown=1

[DestinationDirs]
DefaultDestDir                = 12                            ; %WinDir%\System32\Drivers

; ================= Class section =====================

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

[SourceDisksFiles]
AmdSmf.sys        = 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%AmdSmf.DeviceDesc%=AmdSmf_Device, {C65C8174-D19C-444B-95D4-40257DB51D7C}\SmfSocPlugin ; Please edit this.

[AmdSmf_Device.NT]
CopyFiles=DefaultDestDir
AddReg=AmdSmf_Device_AddReg

[DefaultDestDir]
AmdSmf.sys

[AmdSmf_Device.NT.HW]

[AmdSmf_Device_AddReg]
;-------------- Service installation
[AmdSmf_Device.NT.Services]
;
; %SPSVCINST_ASSOCSERVICE% should only be specified if this is a function driver.
;
AddService = AmdSmf,%SPSVCINST_ASSOCSERVICE%, AmdSmf_Service_Inst

; -------------- AmdSmf driver install sections
[AmdSmf_Service_Inst]
DisplayName    = %AmdSmf.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\AmdSmf.sys

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Surface"
DiskName = "AMD SoC Client Driver Installation Disk"
AmdSmf.DeviceDesc = "AMD SMF SoC Client"
AmdSmf.SVCDESC = "AMD SMF SoC Client Driver"
REG_DWORD = 0x00010001
