win-pvdrivers

changeset 173:3583c73e078f

Merged with head
author James Harper <james.harper@bendigoit.com.au>
date Tue Feb 05 17:14:27 2008 +1100 (2008-02-05)
parents 4d23c0381767 c57b6e92c615
children 02a14f8e0298
files
line diff
     1.1 --- a/xenenum/xenenum.c	Tue Feb 05 17:13:31 2008 +1100
     1.2 +++ b/xenenum/xenenum.c	Tue Feb 05 17:14:27 2008 +1100
     1.3 @@ -50,18 +50,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
     1.4  {
     1.5    WDF_DRIVER_CONFIG config;
     1.6    ULONG status;
     1.7 -  UNICODE_STRING RegKeyName;
     1.8 -  UNICODE_STRING RegValueName;
     1.9 -  HANDLE RegHandle;
    1.10 -  OBJECT_ATTRIBUTES RegObjectAttributes;
    1.11 -  char Buf[300];
    1.12 -  ULONG BufLen;
    1.13 -  PKEY_VALUE_PARTIAL_INFORMATION KeyPartialValue;
    1.14 -  int State = 0;
    1.15 -  int StartPos = 0;
    1.16 -  WCHAR *SystemStartOptions;
    1.17 -  size_t SystemStartOptionsLen;
    1.18 -  size_t i;
    1.19  
    1.20    KdPrint((__DRIVER_NAME " --> DriverEntry\n"));
    1.21  
     2.1 --- a/xenpci/xenpci.c	Tue Feb 05 17:13:31 2008 +1100
     2.2 +++ b/xenpci/xenpci.c	Tue Feb 05 17:14:27 2008 +1100
     2.3 @@ -95,18 +95,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
     2.4  {
     2.5    WDF_DRIVER_CONFIG config;
     2.6    NTSTATUS status;
     2.7 -  UNICODE_STRING RegKeyName;
     2.8 -  UNICODE_STRING RegValueName;
     2.9 -  HANDLE RegHandle;
    2.10 -  OBJECT_ATTRIBUTES RegObjectAttributes;
    2.11 -  char Buf[200];
    2.12 -  ULONG BufLen = 200;
    2.13 -  PKEY_VALUE_PARTIAL_INFORMATION KeyPartialValue;
    2.14 -  int State = 0;
    2.15 -  int StartPos = 0;
    2.16 -  WCHAR *SystemStartOptions;
    2.17 -  size_t SystemStartOptionsLen;
    2.18 -  size_t i;
    2.19  
    2.20    KdPrint((__DRIVER_NAME " --> DriverEntry\n"));
    2.21  
    2.22 @@ -260,7 +248,6 @@ XenPCI_AddDevice(
    2.23    WDF_IO_QUEUE_CONFIG IoQConfig;
    2.24    WDF_INTERRUPT_CONFIG InterruptConfig;
    2.25    PNP_BUS_INFORMATION busInfo;
    2.26 -  BUS_INTERFACE_STANDARD BusInterface;
    2.27    DECLARE_CONST_UNICODE_STRING(DeviceName, L"\\Device\\XenShutdown");
    2.28    DECLARE_CONST_UNICODE_STRING(SymbolicName, L"\\DosDevices\\XenShutdown");
    2.29    WDFDEVICE Device;