Files
yttrium-virtio-gpu/vioinput/sys/vioinput.inx
T
Yuri Benditovich c4c9d93f33 vioinput: add DMAR Compatibility to the INF file
https://issues.redhat.com/browse/RHEL-58183
Set DMAR compatibility level to 2 (when driver verifier enabled)

Signed-off-by: Yuri Benditovich <[email protected]>
2024-09-18 14:24:45 +02:00

120 lines
3.2 KiB
Plaintext
Executable File

;/*++
;
;INX_COPYRIGHT_1
;INX_COPYRIGHT_2
;
;Module Name:
; vioinput.inf
;
;Abstract:
;
;Installation Notes:
; Step by step driver installation wiki:
; https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Driver-installation
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%VENDOR%
DriverVer=01/01/2008,0.0.0.1 ; this line will be replaced with stampinf
CatalogFile=vioinput.cat
DriverPackageType = PlugAndPlay
DriverPackageDisplayName = %VirtioInput.DeviceDesc%
PnpLockdown = 1
; ================= Class section =====================
;[ClassInstall32]
;Addreg=VirtioInputClassReg
;[VirtioInputClassReg]
;HKR,,,0,%ClassName%
;HKR,,Icon,,-5
[DestinationDirs]
DefaultDestDir = INX_PLATFORM_DRIVERS_DIR
[SourceDisksFiles]
vioinput.sys = 1,,
viohidkmdf.sys = 1,,
[SourceDisksNames]
1 = %DiskId1%,,,""
;*****************************************
; vioinput Install Section
;*****************************************
[Manufacturer]
%VENDOR%=VirtioInput,NT$ARCH$
[VirtioInput.NT$ARCH$]
;
; Hw Id is PCI\VEN_1AF4&DEV_1052&SUBSYS_1100_INX_SUBSYS_VENDOR_ID&CC_090200&REV_01
;
%VirtioInput.DeviceDesc%=VirtioInput_Device, PCI\VEN_1AF4&DEV_1052&SUBSYS_1100_INX_SUBSYS_VENDOR_ID&REV_01, PCI\VEN_1AF4&DEV_1052
%VirtioInput.ChildDesc%=VirtioInput_Child, VIOINPUT\REV_01
[VirtioInput_Device.NT]
CopyFiles=CopyFiles_Device
[VirtioInput_Child.NT]
CopyFiles=CopyFiles_Child
[VirtioInput_Device.NT.HW]
AddReg=VirtioInput_AddReg
[VirtioInput_AddReg]
HKR,Interrupt Management,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,1
HKR,Interrupt Management\MessageSignaledInterruptProperties,MessageNumberLimit,0x00010001,2
[CopyFiles_Device]
vioinput.sys
[CopyFiles_Child]
viohidkmdf.sys
;-------------- Service installation
[VirtioInput_Device.NT.Services]
AddService = VirtioInput, 0x00000002, VirtioInput_Service_Inst ;flag 0x2 sets this as the service for the device
[VirtioInput_Child.NT.Services]
AddService = viohidkmdf, 0x00000002, viohidkmdf_Service_Inst
; -------------- VirtioInput driver install sections
[viohidkmdf_Service_Inst]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %INX_PLATFORM_DRIVERS_DIR%\viohidkmdf.sys
[VirtioInput_Service_Inst]
DisplayName = %VirtioInput.ServiceDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %INX_PLATFORM_DRIVERS_DIR%\vioinput.sys
AddReg = Dmar.AddReg
[Dmar.AddReg]
HKR,Parameters,DmaRemappingCompatible,0x00010001,2
[VirtioInput_Device.NT.Wdf]
KmdfService = VirtioInput, VirtioInput_wdfsect
[VirtioInput_wdfsect]
KmdfLibraryVersion = $KMDFVERSION$
[Strings]
VENDOR = "INX_COMPANY"
DiskId1 = "INX_PREFIX_VIRTIOVirtIO Input Installation Disk #1"
VirtioInput.DeviceDesc = "INX_PREFIX_VIRTIOVirtIO Input Driver"
VirtioInput.ChildDesc = "INX_PREFIX_VIRTIOVirtIO Input Driver Helper"
VirtioInput.ServiceDesc = "INX_PREFIX_VIRTIOVirtIO Input Service"