win-pvdrivers

view xenscsi/xenscsi.inx @ 685:c13ccf5a629b

Fixed a bug in the dma routines which was causing memory corruption. In some cases when Windows gave an MDL that was longer than the buffer to be dma'd, the end of the buffer would be overwritten. The only time I am aware of this occuring is on one particular map in Call Of Duty 4.

Split out the dma routines from xenpci_pdo.c into xenpci_dma.c
author James Harper <james.harper@bendigoit.com.au>
date Wed Oct 14 14:46:39 2009 +1100 (2009-10-14)
parents bf13631a5054
children
line source
1 [Version]
2 Signature="$WINDOWS NT$"
3 Class=SCSIAdapter
4 ClassGuid={4D36E97B-E325-11CE-BFC1-08002BE10318}
5 Provider=%XenGplPv%
6 CatalogFile="xenscsi.cat"
8 [DestinationDirs]
9 DefaultDestDir = 12
11 [ControlFlags]
12 ExcludeFromSelect=*
14 [Manufacturer]
15 %XenGplPv%=XenGplPv,NT$ARCH$
17 [XenGplPv.NT$ARCH$]
18 %XenScsi.DRVDESC%=XenScsi_Inst, XEN\VSCSI
20 [XenScsi_Inst.NT]
21 CopyFiles=XenScsi.CopyFiles
23 [XenScsi.CopyFiles]
24 xenscsi.sys
26 [XenScsi_Inst.NT.Services]
27 AddService=XenScsi,2,XenScsi_Service, XenScsi_EventLog
29 [XenScsi_Service]
30 DisplayName = %XenScsi.SVCDESC%
31 ServiceType = 1
32 StartType = 0
33 ErrorControl = 1
34 LoadOrderGroup = System Bus Extender
35 ServiceBinary = %12%\xenscsi.sys
36 AddReg = XenScsi_Service_AddReg
38 [XenScsi_Service_AddReg]
39 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
40 ; hide Qemu SCSI in XenPCI
41 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "VEN_1000&DEV_0012"
43 [XenScsi_EventLog]
44 AddReg = XenScsi_EventLog_AddReg
46 [XenScsi_EventLog_AddReg]
47 HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\XenScsi.sys"
48 HKR,,TypesSupported,0x00010001,7
50 [SourceDisksFiles]
51 xenscsi.sys=1
53 [SourceDisksNames]
54 1 = %DISK_NAME%
56 [Strings]
57 XenGplPv = "Xen GPL PV Driver Developers"
58 XenScsi.SVCDESC = "Xen SCSI Driver"
59 XenScsi.DRVDESC = "Xen SCSI Driver"
60 DISK_NAME = "Xen SCSI Device Driver Install Disk"
61 FLG_ADDREG_TYPE_DWORD = 0x00010001