win-pvdrivers

diff xenpci/xenpci.c @ 73:f74723639713

Corrected merge of dpc patches.
Releasing 0.5.0.0
author James Harper <james.harper@bendigoit.com.au>
date Thu Dec 20 13:07:44 2007 +1100 (2007-12-20)
parents 0d06cc4c5fc9
children b7863ede7a37
line diff
     1.1 --- a/xenpci/xenpci.c	Thu Dec 20 13:07:13 2007 +1100
     1.2 +++ b/xenpci/xenpci.c	Thu Dec 20 13:07:44 2007 +1100
     1.3 @@ -373,7 +373,7 @@ XenPCI_AddDevice(
     1.4  
     1.5    WdfDeviceSetBusInformationForChildren(Device, &busInfo);
     1.6  
     1.7 -  WDF_INTERRUPT_CONFIG_INIT(&InterruptConfig, EvtChn_Interrupt, EvtChn_InterruptDpc);
     1.8 +  WDF_INTERRUPT_CONFIG_INIT(&InterruptConfig, EvtChn_Interrupt, NULL); //EvtChn_InterruptDpc);
     1.9    InterruptConfig.EvtInterruptEnable = XenPCI_InterruptEnable;
    1.10    InterruptConfig.EvtInterruptDisable = XenPCI_InterruptDisable;
    1.11    Status = WdfInterruptCreate(Device, &InterruptConfig, WDF_NO_OBJECT_ATTRIBUTES, &xpdd->XenInterrupt);
    1.12 @@ -806,6 +806,7 @@ XenPCI_ChildListCreateDevice(
    1.13    ChildDeviceData->EvtChnInterface.Unmask = EvtChn_Unmask;
    1.14    ChildDeviceData->EvtChnInterface.Notify = EvtChn_Notify;
    1.15    ChildDeviceData->EvtChnInterface.AllocUnbound = EvtChn_AllocUnbound;
    1.16 +  ChildDeviceData->EvtChnInterface.BindDpc = EvtChn_BindDpc;
    1.17    WDF_QUERY_INTERFACE_CONFIG_INIT(&qiConfig, (PINTERFACE)&ChildDeviceData->EvtChnInterface, &GUID_XEN_IFACE_EVTCHN, NULL);
    1.18    status = WdfDeviceAddQueryInterface(ChildDevice, &qiConfig);
    1.19    if (!NT_SUCCESS(status))