;*******************************************************************************
;*                                                                            **
;*                     I N T E L   P R O P R I E T A R Y                      **
;*                                                                            **
;*   COPYRIGHT (c) 2012-2026 BY INTEL CORPORATION. ALL RIGHTS RESERVED.  NO   **
;*   PART  OF  THIS  PROGRAM OR PUBLICATION MAY BE REPRODUCED, TRANSMITTED,   **
;*   TRANSCRIBED, STORED IN A RETRIEVAL  SYSTEM,  OR  TRANSLATED  INTO  ANY   **
;*   LANGUAGE OR COMPUTER LANGUAGE IN ANY FORM OR BY ANY MEANS, ELECTRONIC,   **
;*   MECHANICAL, MAGNETIC, OPTICAL, CHEMICAL, MANUAL, OR OTHERWISE, WITHOUT   **
;*   THE PRIOR WRITTEN PERMISSION OF :                                        **
;*                                                                            **
;*                             INTEL CORPORATION                              **
;*                                                                            **
;*                          2200 MISSION COLLEGE BLVD                         **
;*                                                                            **
;*                     SANTA CLARA, CALIFORNIA 95052-8119                     **
;*                                                                            **
;*******************************************************************************
;
;
; File Name: IshOed.inf
; Install information file for Intel(R) ISH OED Driver
;--------- Version Section ---------------------------------------------------

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGUID={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
DriverVer = 04/13/2026,5.8.68.0
PnpLockDown=1
CatalogFile=IshOed.cat

[ControlFlags]
; Pnp drivers should not be installable via non-PnP hardware dialogs
ExcludeFromSelect = *

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
DefaultDestDir = 13

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
; These sections identify source disks and files for installation.

[SourceDisksNames]
1=%Location%,

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

;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName% = Intel, NTamd64.10.0...19041

[Intel.NTamd64.10.0...19041]
; ----- Win 10 ; x64 -------
; DisplayName    Section             DeviceId

; Legacy Platform Support(ADL/RPL)

; Platform Support(MTL/ARL/LNL/PTL)
%ISH_OED_DEV_DESC%=ISH_OED_MTL_P_DDI, PCI\VEN_8086&DEV_7E45
%ISH_OED_DEV_DESC%=ISH_OED_ARL_DDI,   PCI\VEN_8086&DEV_7745
%ISH_OED_DEV_DESC%=ISH_OED_ARL_S_DDI, PCI\VEN_8086&DEV_7F78
%ISH_OED_DEV_DESC%=ISH_OED_LNL_DDI,   PCI\VEN_8086&DEV_A845
%ISH_OED_DEV_DESC%=ISH_OED_PTL_DDI,   PCI\VEN_8086&DEV_E345
%ISH_OED_DEV_DESC%=ISH_OED_PTL_DDI,   PCI\VEN_8086&DEV_E445
%ISH_OED_DEV_DESC%=ISH_OED_WCL_DDI,   PCI\VEN_8086&DEV_4D45

[ISH_OED_MTL_P_DDI]
CopyFiles=ISH_OED_Files

[ISH_OED_ARL_DDI]
CopyFiles=ISH_OED_Files

[ISH_OED_ARL_S_DDI]
CopyFiles=ISH_OED_Files

[ISH_OED_LNL_DDI]
CopyFiles=ISH_OED_Files

[ISH_OED_PTL_DDI]
CopyFiles=ISH_OED_Files

[ISH_OED_WCL_DDI]
CopyFiles=ISH_OED_Files

[ISH_OED_MTL_P_DDI.HW]
AddReg=ISH_OED_HW_SECURITY_AddReg

[ISH_OED_ARL_DDI.HW]
AddReg=ISH_OED_HW_SECURITY_AddReg

[ISH_OED_ARL_S_DDI.HW]
AddReg=ISH_OED_HW_SECURITY_AddReg
AddReg=ISH_OED_HW_MSI_AddReg

[ISH_OED_LNL_DDI.HW]
AddReg=ISH_OED_HW_SECURITY_AddReg
AddReg=ISH_OED_HW_DFX_AddReg
AddReg=ISH_OED_HW_MSI_AddReg

[ISH_OED_PTL_DDI.HW]
AddReg=ISH_OED_HW_SECURITY_AddReg
AddReg=ISH_OED_HW_DFX_AddReg
AddReg=ISH_OED_HW_MSI_AddReg

[ISH_OED_WCL_DDI.HW]
AddReg=ISH_OED_HW_SECURITY_AddReg
AddReg=ISH_OED_HW_DFX_AddReg
AddReg=ISH_OED_HW_MSI_AddReg

[ISH_OED_MTL_P_DDI.Services]
AddService = IshOed, %FLG_ADDREG_NOCLOBBER%, ISH_OED_Service_Inst, ISH_OED_EventLog_Inst

[ISH_OED_ARL_DDI.Services]
AddService = IshOed, %FLG_ADDREG_NOCLOBBER%, ISH_OED_Service_Inst, ISH_OED_EventLog_Inst

[ISH_OED_ARL_S_DDI.Services]
AddService = IshOed, %FLG_ADDREG_NOCLOBBER%, ISH_OED_Service_Inst, ISH_OED_EventLog_Inst

[ISH_OED_LNL_DDI.Services]
AddService = IshOed, %FLG_ADDREG_NOCLOBBER%, ISH_OED_Service_Inst

[ISH_OED_PTL_DDI.Services]
AddService = IshOed, %FLG_ADDREG_NOCLOBBER%, ISH_OED_Service_Inst

[ISH_OED_WCL_DDI.Services]
AddService = IshOed, %FLG_ADDREG_NOCLOBBER%, ISH_OED_Service_Inst

[ISH_OED_LNL_DDI.Events]
AddEventProvider={7C9FEE3F-BBF6-4BB2-8EB0-04E19DC3DD3E},ISH_OED_Event_Provider_Inst

[ISH_OED_PTL_DDI.Events]
AddEventProvider={7C9FEE3F-BBF6-4BB2-8EB0-04E19DC3DD3E},ISH_OED_Event_Provider_Inst

[ISH_OED_WCL_DDI.Events]
AddEventProvider={7C9FEE3F-BBF6-4BB2-8EB0-04E19DC3DD3E},ISH_OED_Event_Provider_Inst

; --------- Files ----------------------

[ISH_OED_Files]
IshOed.sys

; --------- Registry ----------------------
[ISH_OED_HW_SECURITY_AddReg]
HKR,,DeviceCharacteristics,0x10001,0x100
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;CI;GA;;;LS)"

[ISH_OED_HW_MSI_AddReg]
HKR, Interrupt Management,, 0x00000010
HKR, Interrupt Management\MessageSignaledInterruptProperties,, 0x00000010
HKR, Interrupt Management\MessageSignaledInterruptProperties, MSISupported, 0x00010001, 1

[ISH_OED_HW_DFX_AddReg]
HKR, "WDF", "WdfDirectedPowerTransitionEnable", 0x00010001, 1


; --------- Service ----------------------

[ISH_OED_Service_Inst]
DisplayName    = %ISH_OED_DEV_DESC%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %13%\IshOed.sys
AddReg         = DMARemapping.AddReg


;-----------------------------------------------------------------------------
; Common base for all drivers for Eventlog and ETW log
;
[ISH_OED_EventLog_Inst]
AddReg = ISH_OED_EventLog.AddReg

[ISH_OED_EventLog.AddReg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\system32\IoLogMsg.dll;%%SystemRoot%%\system32\drivers\IshOed.sys"
HKR, , TypesSupported,   0x00010001, 7

[DMARemapping.AddReg]
HKR,Parameters,DmaRemappingCompatible,0x00010001,1    ; where 1 = opt-in

;---------------------ETW Provider Settings ----------------
[ISH_OED_Event_Provider_Inst]
ProviderName  = ISH-OED-Event-Provider
ResourceFile  = %13%\IshOed.sys
MessageFile   = %13%\IshOed.sys
AddChannel = Intel-ISH-OED/Power, 0x02, ISH_OED_Power_Channel
AddChannel = Intel-ISH-OED/PnP, 0x02, ISH_OED_PnP_Channel
AddChannel = Intel-ISH-OED/IO, 0x02, ISH_OED_IO_Channel
AddChannel = Intel-ISH-OED/Debug, 0x02, ISH_OED_Debug_Channel

[ISH_OED_Power_Channel]
Isolation = 2
Enabled = 0

[ISH_OED_PnP_Channel]
Isolation = 2
Enabled = 0

[ISH_OED_IO_Channel]
Isolation = 2
Enabled = 0

[ISH_OED_Debug_Channel]
Isolation = 2
Enabled = 0

;--------- Strings Section ---------------------------------------------------

[Strings]
Provider = "Intel"
MfgName = "Intel"
ISH_OED_DEV_DESC = "Intel(R) Integrated Sensor Solution"
Location = "Intel(R) Integrated Sensor Solution"

REG_SZ                      = 0x00000000
REG_MULTI_SZ                = 0x00010000
REG_EXPAND_SZ               = 0x00020000
REG_BINARY                  = 0x00000001
REG_DWORD                   = 0x00010001
REG_NONE                    = 0x00020001

SERVICE_KERNEL_DRIVER       = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER  = 0x00000002
SERVICE_ADAPTER             = 0x00000004
SERVICE_RECOGNIZER_DRIVER   = 0x00000008

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

SERVICE_ERROR_IGNORE        = 0x00000000
SERVICE_ERROR_NORMAL        = 0x00000001
SERVICE_ERROR_SEVERE        = 0x00000002
SERVICE_ERROR_CRITICAL      = 0x00000003

FLG_ADDREG_NOCLOBBER        = 0x00000002
FLG_ADDREG_DELVAL           = 0x00000004
FLG_ADDREG_APPEND           = 0x00000008
FLG_ADDREG_KEYONLY          = 0x00000010
FLG_ADDREG_OVERWRITEONLY    = 0x00000020
FLG_ADDREG_64BITKEY         = 0x00001000
FLG_ADDREG_KEYONLY_COMMON   = 0x00002000
FLG_ADDREG_32BITKEY         = 0x00004000

SPSVCINST_STOPSERVICE           = 0x00000200
SPSVCINST_DELETEEVENTLOGENTRY   = 0x00000004

