win-pvdrivers

changeset 235:f126c95d8205 0.8.6

Fixed crash on x32 with >4G memory
author James Harper <james.harper@bendigoit.com.au>
date Sat Mar 29 19:49:01 2008 +1100 (2008-03-29)
parents dffb6524631b
children 303c06237a1e
files common.inc xenvbd/xenvbd.c
line diff
     1.1 --- a/common.inc	Fri Mar 28 23:05:40 2008 +1100
     1.2 +++ b/common.inc	Sat Mar 29 19:49:01 2008 +1100
     1.3 @@ -1,4 +1,4 @@
     1.4 -VERSION=0.8.5.101
     1.5 +VERSION=0.8.5.103
     1.6  TARGETPATH=..\Target\$(DDK_TARGET_OS)
     1.7  KMDF_VERSION=1
     1.8  !IF $(_NT_TOOLS_VERSION) > 0x700
     2.1 --- a/xenvbd/xenvbd.c	Fri Mar 28 23:05:40 2008 +1100
     2.2 +++ b/xenvbd/xenvbd.c	Sat Mar 29 19:49:01 2008 +1100
     2.3 @@ -766,9 +766,7 @@ XenVbd_HwScsiFindAdapter(PVOID DeviceExt
     2.4  
     2.5    DeviceData->DeviceExtension = DeviceExtension;
     2.6  
     2.7 -#if defined(__x86_64__)
     2.8 -  ConfigInfo->Master = TRUE; // Won't work under x64 without this...
     2.9 -#endif
    2.10 +  ConfigInfo->Master = TRUE; // Won't work under x64 or on x32 with >4G memory without this...
    2.11    ConfigInfo->MaximumTransferLength = BLKIF_MAX_SEGMENTS_PER_REQUEST * PAGE_SIZE;
    2.12    ConfigInfo->NumberOfPhysicalBreaks = BLKIF_MAX_SEGMENTS_PER_REQUEST - 1;
    2.13    ConfigInfo->ScatterGather = TRUE;