win-pvdrivers

changeset 277:12d047b64534 wdm 0.9.1

Fixed a few warnings and updated version for release
author James Harper <james.harper@bendigoit.com.au>
date Fri May 23 22:59:04 2008 +1000 (2008-05-23)
parents 2e2bcadfb181
children 79d89db3f7ba
files common.inc xenhide/xenhide.c xennet/xennet_common.c
line diff
     1.1 --- a/common.inc	Fri May 23 22:54:17 2008 +1000
     1.2 +++ b/common.inc	Fri May 23 22:59:04 2008 +1000
     1.3 @@ -1,4 +1,4 @@
     1.4 -VERSION=0.9.0.22
     1.5 +VERSION=0.9.1.0
     1.6  TARGETPATH=..\Target\$(DDK_TARGET_OS)
     1.7  MSC_WARNING_LEVEL=/W4
     1.8  INCLUDES = ..\common\include;..\common\include\public
     2.1 --- a/xenhide/xenhide.c	Fri May 23 22:54:17 2008 +1000
     2.2 +++ b/xenhide/xenhide.c	Fri May 23 22:59:04 2008 +1000
     2.3 @@ -93,7 +93,7 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
     2.4      case 0:
     2.5        if (SystemStartOptions[i] == L'G')
     2.6        {
     2.7 -        StartPos = i;
     2.8 +        StartPos = (int)i;
     2.9          State = 2;
    2.10        } else if (SystemStartOptions[i] != L' ')
    2.11        {
     3.1 --- a/xennet/xennet_common.c	Fri May 23 22:54:17 2008 +1000
     3.2 +++ b/xennet/xennet_common.c	Fri May 23 22:59:04 2008 +1000
     3.3 @@ -206,7 +206,7 @@ XenFreelist_GetPage(freelist_t *fl)
     3.4      mdl = AllocatePagesExtra(1, sizeof(grant_ref_t));
     3.5      *(grant_ref_t *)(((UCHAR *)mdl) + MmSizeOfMdl(0, PAGE_SIZE)) = fl->xi->vectors.GntTbl_GrantAccess(
     3.6        fl->xi->vectors.context, 0,
     3.7 -      *MmGetMdlPfnArray(mdl), FALSE, 0);
     3.8 +      (ULONG)*MmGetMdlPfnArray(mdl), FALSE, 0);
     3.9    }
    3.10    else
    3.11    {