win-pvdrivers

annotate xenvbd/xenvbd.inx @ 310:60372bd2582d

First cut of putting xenbus config details in the .inf file - xenvbd may yet pass WHQL
author James Harper <james.harper@bendigoit.com.au>
date Fri Jun 13 14:16:50 2008 +1000 (2008-06-13)
parents b4f7d75fbe24
children c25d8b936290
rev   line source
james@61 1 [Version]
james@61 2 Signature="$WINDOWS NT$"
james@61 3 Class=SCSIAdapter
james@61 4 ClassGuid={4D36E97B-E325-11CE-BFC1-08002BE10318}
james@155 5 Provider=%XenGplPv%
james@274 6 CatalogFile="XenGPLPV.cat"
james@61 7
james@61 8 [DestinationDirs]
james@61 9 DefaultDestDir = 12
james@61 10
james@61 11 [ControlFlags]
james@61 12 ExcludeFromSelect=*
james@61 13
james@61 14 [Manufacturer]
james@155 15 %XenGplPv%=XenGplPv,NTx86
james@155 16 %XenGplPv%=XenGplPv,NTamd64
james@61 17
james@155 18 [XenGplPv.NTx86]
james@61 19 %XenVbd.DRVDESC%=XenVbd_Inst, XEN\VBD
james@155 20
james@155 21 [XenGplPv.NTamd64]
james@155 22 %XenVbd.DRVDESC%=XenVbd_Inst, XEN\VBD
james@61 23
james@61 24 [XenVbd_Inst.NT]
james@61 25 CopyFiles=XenVbd.CopyFiles
james@61 26
james@61 27 [XenVbd.CopyFiles]
james@61 28 xenvbd.sys
james@61 29
james@61 30 [XenVbd_Inst.NT.Services]
james@157 31 AddService=XenVbd,2,XenVbd_Service, XenVbd_EventLog
james@61 32
james@61 33 [XenVbd_Service]
james@61 34 DisplayName = %XenVbd.SVCDESC%
james@61 35 ServiceType = 1
james@272 36 StartType = 0
james@61 37 ErrorControl = 1
james@172 38 LoadOrderGroup = System Bus Extender
james@61 39 ServiceBinary = %12%\xenvbd.sys
james@305 40 AddReg = XenVbd_Service_AddReg,XenVbd_XenConfig_AddReg
james@61 41
james@61 42 [XenVbd_Service_AddReg]
james@61 43 HKR,"Parameters\PnpInterface", "0", 0x00010001, 0x00000001
james@274 44 ; Add XenHide as a filter to IDE Controllers
james@270 45 HKLM,SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318},UpperFilters,0x00010008,XenHide
james@274 46 ; Add XenHide as a filter to SCSI Controllers
james@270 47 HKLM,SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318},UpperFilters,0x00010008,XenHide
james@61 48
james@157 49 [XenVbd_EventLog]
james@157 50 AddReg = XenVbd_EventLog_AddReg
james@157 51
james@157 52 [XenVbd_EventLog_AddReg]
james@157 53 HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\XenVbd.sys"
james@157 54 HKR,,TypesSupported,0x00010001,7
james@157 55
james@61 56 [XenVbd_Inst.NT.HW]
james@310 57 AddReg = XenVbd_XenConfig_AddReg, XenVbd_UpperFilter_AddReg
james@305 58
james@305 59 [XenVbd_XenConfig_AddReg]
james@310 60 HKR,"XenConfig\ring-ref", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_RING%
james@310 61 HKR,"XenConfig\event-channel", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_EVENT_CHANNEL_IRQ%
james@310 62 HKR,"XenConfig\device-type", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_FRONT%
james@310 63 HKR,"XenConfig\sectors", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_BACK%
james@310 64 HKR,"XenConfig\sector-size", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_BACK%
james@310 65 HKR,"XenConfig\vectors", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_VECTORS%
james@310 66 HKR,"XenConfig\grants", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_GRANT_ENTRIES%
james@310 67 HKR,"XenConfig\grants", "value", %FLG_ADDREG_TYPE_DWORD%, 144
james@310 68
james@310 69 [XenVbd_UpperFilter_AddReg]
james@310 70 HKR,,UpperFilters,0x10000,XenConfig
james@310 71
james@310 72 [XenConfig_Inst.NT.HW]
james@310 73 CopyFiles=XenConfig.CopyFiles
james@310 74
james@310 75 [XenConfig.CopyFiles]
james@310 76 xenconfig.sys
james@310 77
james@310 78 [XenConfig_Inst.NT.Services]
james@310 79 AddService=XenConfig,0,XenConfig_Service
james@310 80
james@310 81 [XenConfig_Service]
james@310 82 DisplayName = %XenConfig.SVCDESC%
james@310 83 ServiceType = 1
james@310 84 StartType = 0
james@310 85 ErrorControl = 1
james@310 86 LoadOrderGroup = System Bus Extender
james@310 87 ServiceBinary = %12%\xenconfig.sys
james@310 88 AddReg = XenConfig_Service_AddReg
james@310 89
james@310 90 [XenConfig_Service_AddReg]
james@310 91 HKR,"Parameters\PnpInterface", "0", 0x00010001, 0x00000001
james@61 92
james@61 93 [SourceDisksFiles]
james@61 94 xenvbd.sys=1
james@310 95 xenconfig.sys=1
james@61 96
james@155 97 [SourceDisksNames.x86]
james@274 98 1 = %DISK_NAME%,,,.\i386
james@61 99
james@155 100 [SourceDisksNames.amd64]
james@274 101 1 = %DISK_NAME%,,,.\amd64
james@155 102
james@61 103 [Strings]
james@155 104 XenGplPv = "Xen GPL PV Driver Developers"
james@61 105 XenVbd.SVCDESC = "Xen Block Device Driver"
james@61 106 XenVbd.DRVDESC = "Xen Block Device Driver"
james@310 107 XenConfig.DRVDESC = "Xen Config Resource Generator"
james@61 108 DISK_NAME = "Xen Block Device Driver Install Disk"
james@310 109 FLG_ADDREG_TYPE_DWORD = 0x00010001
james@310 110 XEN_INIT_TYPE_END = 0
james@310 111 XEN_INIT_TYPE_WRITE_STRING = 1
james@310 112 XEN_INIT_TYPE_RING = 2
james@310 113 XEN_INIT_TYPE_EVENT_CHANNEL = 3
james@310 114 XEN_INIT_TYPE_EVENT_CHANNEL_IRQ = 4
james@310 115 XEN_INIT_TYPE_READ_STRING_FRONT = 5
james@310 116 XEN_INIT_TYPE_READ_STRING_BACK = 6
james@310 117 XEN_INIT_TYPE_VECTORS = 7
james@310 118 XEN_INIT_TYPE_GRANT_ENTRIES = 8
james@310 119 XEN_INIT_TYPE_COPY_PTR = 9