win-pvdrivers

annotate xenvbd/xenvbd.inx @ 314:a55d72ac422f

updates to the whole xenconfig thing to allow xennet to dynamically config. Almost there.
Created some bat files to do the signing.
author James Harper <james.harper@bendigoit.com.au>
date Tue Jun 17 10:35:26 2008 +1000 (2008-06-17)
parents c25d8b936290
children 097ab7d19ea2
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@311 29 xenconfig.sys
james@61 30
james@61 31 [XenVbd_Inst.NT.Services]
james@157 32 AddService=XenVbd,2,XenVbd_Service, XenVbd_EventLog
james@311 33 AddService=XenConfig,0,XenConfig_Service
james@61 34
james@61 35 [XenVbd_Service]
james@61 36 DisplayName = %XenVbd.SVCDESC%
james@61 37 ServiceType = 1
james@272 38 StartType = 0
james@61 39 ErrorControl = 1
james@172 40 LoadOrderGroup = System Bus Extender
james@61 41 ServiceBinary = %12%\xenvbd.sys
james@314 42 AddReg = XenVbd_Service_AddReg
james@61 43
james@61 44 [XenVbd_Service_AddReg]
james@61 45 HKR,"Parameters\PnpInterface", "0", 0x00010001, 0x00000001
james@274 46 ; Add XenHide as a filter to IDE Controllers
james@270 47 HKLM,SYSTEM\CurrentControlSet\Control\Class\{4D36E96A-E325-11CE-BFC1-08002BE10318},UpperFilters,0x00010008,XenHide
james@274 48 ; Add XenHide as a filter to SCSI Controllers
james@270 49 HKLM,SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318},UpperFilters,0x00010008,XenHide
james@61 50
james@157 51 [XenVbd_EventLog]
james@157 52 AddReg = XenVbd_EventLog_AddReg
james@157 53
james@157 54 [XenVbd_EventLog_AddReg]
james@157 55 HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\XenVbd.sys"
james@157 56 HKR,,TypesSupported,0x00010001,7
james@157 57
james@61 58 [XenVbd_Inst.NT.HW]
james@310 59 AddReg = XenVbd_XenConfig_AddReg, XenVbd_UpperFilter_AddReg
james@305 60
james@305 61 [XenVbd_XenConfig_AddReg]
james@310 62 HKR,"XenConfig\ring-ref", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_RING%
james@310 63 HKR,"XenConfig\event-channel", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_EVENT_CHANNEL_IRQ%
james@310 64 HKR,"XenConfig\device-type", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_FRONT%
james@310 65 HKR,"XenConfig\sectors", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_BACK%
james@310 66 HKR,"XenConfig\sector-size", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_READ_STRING_BACK%
james@310 67 HKR,"XenConfig\vectors", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_VECTORS%
james@310 68 HKR,"XenConfig\grants", "type", %FLG_ADDREG_TYPE_DWORD%, %XEN_INIT_TYPE_GRANT_ENTRIES%
james@310 69 HKR,"XenConfig\grants", "value", %FLG_ADDREG_TYPE_DWORD%, 144
james@310 70
james@310 71 [XenVbd_UpperFilter_AddReg]
james@310 72 HKR,,UpperFilters,0x10000,XenConfig
james@310 73
james@310 74 [XenConfig_Service]
james@310 75 DisplayName = %XenConfig.SVCDESC%
james@310 76 ServiceType = 1
james@310 77 StartType = 0
james@310 78 ErrorControl = 1
james@310 79 LoadOrderGroup = System Bus Extender
james@310 80 ServiceBinary = %12%\xenconfig.sys
james@310 81 AddReg = XenConfig_Service_AddReg
james@310 82
james@310 83 [XenConfig_Service_AddReg]
james@310 84 HKR,"Parameters\PnpInterface", "0", 0x00010001, 0x00000001
james@61 85
james@61 86 [SourceDisksFiles]
james@61 87 xenvbd.sys=1
james@310 88 xenconfig.sys=1
james@61 89
james@155 90 [SourceDisksNames.x86]
james@274 91 1 = %DISK_NAME%,,,.\i386
james@61 92
james@155 93 [SourceDisksNames.amd64]
james@274 94 1 = %DISK_NAME%,,,.\amd64
james@155 95
james@61 96 [Strings]
james@155 97 XenGplPv = "Xen GPL PV Driver Developers"
james@61 98 XenVbd.SVCDESC = "Xen Block Device Driver"
james@61 99 XenVbd.DRVDESC = "Xen Block Device Driver"
james@311 100 XenConfig.SVCDESC = "Xen Config Resource Generator"
james@61 101 DISK_NAME = "Xen Block Device Driver Install Disk"
james@310 102 FLG_ADDREG_TYPE_DWORD = 0x00010001
james@310 103 XEN_INIT_TYPE_END = 0
james@310 104 XEN_INIT_TYPE_WRITE_STRING = 1
james@310 105 XEN_INIT_TYPE_RING = 2
james@310 106 XEN_INIT_TYPE_EVENT_CHANNEL = 3
james@310 107 XEN_INIT_TYPE_EVENT_CHANNEL_IRQ = 4
james@310 108 XEN_INIT_TYPE_READ_STRING_FRONT = 5
james@310 109 XEN_INIT_TYPE_READ_STRING_BACK = 6
james@310 110 XEN_INIT_TYPE_VECTORS = 7
james@310 111 XEN_INIT_TYPE_GRANT_ENTRIES = 8
james@310 112 XEN_INIT_TYPE_COPY_PTR = 9