win-pvdrivers

diff xenpci/xenpci.h @ 74:06b4321b7068

Created a common AllocagePages routine in xen_windows.h
Updated xennet and xenvbd to use it.
Updated xennet's method of getting the virtual address from the Mdl
author James Harper <james.harper@bendigoit.com.au>
date Thu Dec 20 21:37:20 2007 +1100 (2007-12-20)
parents f74723639713
children b7863ede7a37
line diff
     1.1 --- a/xenpci/xenpci.h	Thu Dec 20 13:07:44 2007 +1100
     1.2 +++ b/xenpci/xenpci.h	Thu Dec 20 21:37:20 2007 +1100
     1.3 @@ -33,6 +33,8 @@ Foundation, Inc., 51 Franklin Street, Fi
     1.4  #define NTSTRSAFE_LIB
     1.5  #include <ntstrsafe.h>
     1.6  
     1.7 +#define __DRIVER_NAME "XenPCI"
     1.8 +
     1.9  #include <xen_windows.h>
    1.10  #include <memory.h>
    1.11  #include <grant_table.h>
    1.12 @@ -48,7 +50,6 @@ Foundation, Inc., 51 Franklin Street, Fi
    1.13  //{C828ABE9-14CA-4445-BAA6-82C2376C6518}
    1.14  DEFINE_GUID( GUID_XENPCI_DEVCLASS, 0xC828ABE9, 0x14CA, 0x4445, 0xBA, 0xA6, 0x82, 0xC2, 0x37, 0x6C, 0x65, 0x18);
    1.15  
    1.16 -#define __DRIVER_NAME "XenPCI"
    1.17  #define XENPCI_POOL_TAG (ULONG) 'XenP'
    1.18  //#define XENPCI_FDO_INSTANCE_SIGNATURE (ULONG) 'XENP'
    1.19