win-pvdrivers

view xenvbd/xenvbd.inx @ 363:097ab7d19ea2

Merge bug fixer from WDF to WDM.
author Wayne Gong <wayne.gong@oracle.com>
date Mon Jul 07 14:03:39 2008 +0800 (2008-07-07)
parents a55d72ac422f
children 8a0a695cdd97
line source
1 [Version]
2 Signature="$WINDOWS NT$"
3 Class=SCSIAdapter
4 ClassGuid={4D36E97B-E325-11CE-BFC1-08002BE10318}
5 Provider=%XenGplPv%
6 CatalogFile="XenGPLPV.cat"
8 [DestinationDirs]
9 DefaultDestDir = 12
11 [ControlFlags]
12 ExcludeFromSelect=*
14 [Manufacturer]
15 %XenGplPv%=XenGplPv,NTx86
16 %XenGplPv%=XenGplPv,NTamd64
18 [XenGplPv.NTx86]
19 %XenVbd.DRVDESC%=XenVbd_Inst, XEN\VBD
21 [XenGplPv.NTamd64]
22 %XenVbd.DRVDESC%=XenVbd_Inst, XEN\VBD
24 [XenVbd_Inst.NT]
25 CopyFiles=XenVbd.CopyFiles
27 [XenVbd.CopyFiles]
28 xenvbd.sys
29 xenconfig.sys
31 [XenVbd_Inst.NT.Services]
32 AddService=XenVbd,2,XenVbd_Service, XenVbd_EventLog
33 AddService=XenConfig,0,XenConfig_Service
35 [XenVbd_Service]
36 DisplayName = %XenVbd.SVCDESC%
37 ServiceType = 1
38 StartType = 0
39 ErrorControl = 1
40 LoadOrderGroup = System Bus Extender
41 ServiceBinary = %12%\xenvbd.sys
42 AddReg = XenVbd_Service_AddReg
44 [XenVbd_Service_AddReg]
45 HKR,"Parameters\PnpInterface", "0", 0x00010001, 0x00000001
46 ; Add XenHide as a filter to IDE Controllers
47 HKLM,SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318},UpperFilters,0x00010008,XenHide
48 ; Add XenHide as a filter to SCSI Controllers
49 HKLM,SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318},UpperFilters,0x00010008,XenHide
51 [XenVbd_EventLog]
52 AddReg = XenVbd_EventLog_AddReg
54 [XenVbd_EventLog_AddReg]
55 HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\XenVbd.sys"
56 HKR,,TypesSupported,0x00010001,7
58 [XenVbd_Inst.NT.HW]
59 AddReg = XenVbd_XenConfig_AddReg, XenVbd_UpperFilter_AddReg
61 [XenVbd_XenConfig_AddReg]
62 HKR,"XenConfig\ring-ref", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_RING%
63 HKR,"XenConfig\event-channel", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_EVENT_CHANNEL_IRQ%
64 HKR,"XenConfig\device-type", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_FRONT%
65 HKR,"XenConfig\mode", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_BACK%
66 HKR,"XenConfig\sectors", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_BACK%
67 HKR,"XenConfig\sector-size", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_BACK%
68 HKR,"XenConfig\vectors", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_VECTORS%
69 HKR,"XenConfig\grants", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_GRANT_ENTRIES%
70 HKR,"XenConfig\grants", "value", %FLG_ADDREG_TYPE_DWORD%, 144
72 [XenVbd_UpperFilter_AddReg]
73 HKR,,UpperFilters,0x10000,XenConfig
75 [XenConfig_Service]
76 DisplayName = %XenConfig.SVCDESC%
77 ServiceType = 1
78 StartType = 0
79 ErrorControl = 1
80 LoadOrderGroup = System Bus Extender
81 ServiceBinary = %12%\xenconfig.sys
82 AddReg = XenConfig_Service_AddReg
84 [XenConfig_Service_AddReg]
85 HKR,"Parameters\PnpInterface", "0", 0x00010001, 0x00000001
87 [SourceDisksFiles]
88 xenvbd.sys=1
89 xenconfig.sys=1
91 [SourceDisksNames.x86]
92 1 = %DISK_NAME%,,,.\i386
94 [SourceDisksNames.amd64]
95 1 = %DISK_NAME%,,,.\amd64
97 [Strings]
98 XenGplPv = "Xen GPL PV Driver Developers"
99 XenVbd.SVCDESC = "Xen Block Device Driver"
100 XenVbd.DRVDESC = "Xen Block Device Driver"
101 XenConfig.SVCDESC = "Xen Config Resource Generator"
102 DISK_NAME = "Xen Block Device Driver Install Disk"
103 FLG_ADDREG_TYPE_DWORD = 0x00010001
104 XEN_INIT_TYPE_END = 0
105 XEN_INIT_TYPE_WRITE_STRING = 1
106 XEN_INIT_TYPE_RING = 2
107 XEN_INIT_TYPE_EVENT_CHANNEL = 3
108 XEN_INIT_TYPE_EVENT_CHANNEL_IRQ = 4
109 XEN_INIT_TYPE_READ_STRING_FRONT = 5
110 XEN_INIT_TYPE_READ_STRING_BACK = 6
111 XEN_INIT_TYPE_VECTORS = 7
112 XEN_INIT_TYPE_GRANT_ENTRIES = 8
113 XEN_INIT_TYPE_COPY_PTR = 9