mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Set the share disposition of an interrupt according to the value from the resource.
svn path=/trunk/; revision=14295
This commit is contained in:
parent
b929be435f
commit
7889b35088
4 changed files with 10 additions and 1 deletions
|
@ -329,6 +329,10 @@ IntVideoPortPnPStartDevice(
|
|||
{
|
||||
DeviceExtension->InterruptLevel = Descriptor->u.Interrupt.Level;
|
||||
DeviceExtension->InterruptVector = Descriptor->u.Interrupt.Vector;
|
||||
if (Descriptor->ShareDisposition == CmResourceShareShared)
|
||||
DeviceExtension->InterruptShared = TRUE;
|
||||
else
|
||||
DeviceExtension->InterruptShared = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ IntVideoPortSetupInterrupt(
|
|||
Irql,
|
||||
Irql,
|
||||
ConfigInfo->InterruptMode,
|
||||
FALSE,
|
||||
DeviceExtension->InterruptShared,
|
||||
Affinity,
|
||||
FALSE);
|
||||
|
||||
|
|
|
@ -559,6 +559,10 @@ VideoPortGetAccessRanges(
|
|||
{
|
||||
DeviceExtension->InterruptLevel = Descriptor->u.Interrupt.Level;
|
||||
DeviceExtension->InterruptVector = Descriptor->u.Interrupt.Vector;
|
||||
if (Descriptor->ShareDisposition == CmResourceShareShared)
|
||||
DeviceExtension->InterruptShared = TRUE;
|
||||
else
|
||||
DeviceExtension->InterruptShared = FALSE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,6 +93,7 @@ typedef struct _VIDEO_PORT_DEVICE_EXTENSTION
|
|||
PCM_RESOURCE_LIST AllocatedResources;
|
||||
ULONG InterruptVector;
|
||||
ULONG InterruptLevel;
|
||||
BOOLEAN InterruptShared;
|
||||
ULONG AdapterInterfaceType;
|
||||
ULONG SystemIoBusNumber;
|
||||
ULONG SystemIoSlotNumber;
|
||||
|
|
Loading…
Reference in a new issue