⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pcie.inf

📁 基于xilinx vierex5得pci express dma设计实现。
💻 INF
字号:
;/*++
;
;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:
;
;    PCIE.INF
;
;Abstract:
;    INF file for the PCIE PCI9x5xRDK-Lite driver.
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=Sample
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171}
Provider=%MSFT%
DriverVer=12/02/2007,6.0.6001.16549
CatalogFile=KmdfSamples.cat

[DestinationDirs]
DefaultDestDir = 12

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

[ClassInstall32]
Addreg=SampleClassReg     

[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,DeviceCharacteristics,0x10001,0x100     ;Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)" ;Allow generic all access to system and built-in Admin. 


; ================= Device Install section =====================

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%MSFT%=MSFT,NTx86

[SourceDisksFiles]
PCIE.sys=1

[SourceDisksNames]
1=%DISK_NAME%,

; For Win2K
[MSFT]
; DisplayName           Section           DeviceId
; -----------           -------           --------
%PCIE.DRVDESC%=         PCIE_Inst,     	  PCI\VEN_10EE&DEV_150A
%PCIE.DRVDESC%=         PCIE_Inst,     	  PCI\VEN_10EE&DEV_1000


; For XP and later
[MSFT.NTx86]
; DisplayName           Section           DeviceId
; -----------           -------           --------
%PCIE.DRVDESC%=         PCIE_Inst,        PCI\VEN_10EE&DEV_150A
%PCIE.DRVDESC%=         PCIE_Inst,        PCI\VEN_10EE&DEV_1000


[PCIE_Inst.NT]
CopyFiles=PCIE.CopyFiles

[PCIE.CopyFiles]
PCIE.sys

[PCIE_Inst.NT.Services]
AddService=PCIE,0x00000002,PCIE_Service 

[PCIE_Service]
DisplayName    = %PCIE.SVCDESC%                            
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\PCIE.sys                            
AddReg         = PCIE_Parameters_AddReg

[PCIE_Parameters_AddReg]
HKR, Parameters\Wdf, VerboseOn,       0x00010001, 1
HKR, Parameters\Wdf, VerifierOn,      0x00010001, 1
HKR, Parameters\Wdf, DbgBreakOnError, 0x00010001, 1


;-------------- Coinstaller installation
[DestinationDirs]
CoInstaller_CopyFiles = 11

[PCIE_Inst.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01007.dll

[SourceDisksFiles]
WdfCoInstaller01007.dll=1 ; make sure the number matches with SourceDisksNames

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01007.dll,WdfCoInstaller"

[PCIE_Inst.NT.Wdf]
KmdfService = PCIE, PCIE_wdfsect
[PCIE_wdfsect]
KmdfLibraryVersion = 1.7

[Strings]
MSFT = "Microsoft"
ClassName = "Sample Device"
PCIE.SVCDESC = "Sample Driver Service for the PCIE board"
PCIE.DRVDESC = "Sample Driver 62.5MHZ for the PCIE board"
DISK_NAME = "PCIE Sample Install Disk"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -