Modified: trunk/reactos/drivers/video/videoprt/dispatch.c
Modified: trunk/reactos/drivers/video/videoprt/interrupt.c
Modified: trunk/reactos/drivers/video/videoprt/resource.c
Modified: trunk/reactos/drivers/video/videoprt/videoprt.h
--- trunk/reactos/drivers/video/videoprt/dispatch.c 2005-03-23 21:51:08 UTC (rev 14294)
+++ trunk/reactos/drivers/video/videoprt/dispatch.c 2005-03-23 21:51:40 UTC (rev 14295)
@@ -329,6 +329,10 @@
{
DeviceExtension->InterruptLevel = Descriptor->u.Interrupt.Level;
DeviceExtension->InterruptVector = Descriptor->u.Interrupt.Vector;
+ if (Descriptor->ShareDisposition == CmResourceShareShared)
+ DeviceExtension->InterruptShared = TRUE;
+ else
+ DeviceExtension->InterruptShared = FALSE;
}
}
}
--- trunk/reactos/drivers/video/videoprt/interrupt.c 2005-03-23 21:51:08 UTC (rev 14294)
+++ trunk/reactos/drivers/video/videoprt/interrupt.c 2005-03-23 21:51:40 UTC (rev 14295)
@@ -85,7 +85,7 @@
Irql,
Irql,
ConfigInfo->InterruptMode,
- FALSE,
+ DeviceExtension->InterruptShared,
Affinity,
FALSE);
--- trunk/reactos/drivers/video/videoprt/resource.c 2005-03-23 21:51:08 UTC (rev 14294)
+++ trunk/reactos/drivers/video/videoprt/resource.c 2005-03-23 21:51:40 UTC (rev 14295)
@@ -559,6 +559,10 @@
{
DeviceExtension->InterruptLevel = Descriptor->u.Interrupt.Level;
DeviceExtension->InterruptVector = Descriptor->u.Interrupt.Vector;
+ if (Descriptor->ShareDisposition == CmResourceShareShared)
+ DeviceExtension->InterruptShared = TRUE;
+ else
+ DeviceExtension->InterruptShared = FALSE;
}
}
}
--- trunk/reactos/drivers/video/videoprt/videoprt.h 2005-03-23 21:51:08 UTC (rev 14294)
+++ trunk/reactos/drivers/video/videoprt/videoprt.h 2005-03-23 21:51:40 UTC (rev 14295)
@@ -93,6 +93,7 @@
PCM_RESOURCE_LIST AllocatedResources;
ULONG InterruptVector;
ULONG InterruptLevel;
+ BOOLEAN InterruptShared;
ULONG AdapterInterfaceType;
ULONG SystemIoBusNumber;
ULONG SystemIoSlotNumber;