mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 00:43:21 +00:00
[FREELOADER]
- Fix the ShareDisposition value of COM port interrupts - Fix the Vector value of the interrupt resources svn path=/trunk/; revision=46686
This commit is contained in:
parent
215e199219
commit
d214e12390
|
@ -1419,10 +1419,10 @@ DetectSerialPorts(PCONFIGURATION_COMPONENT_DATA BusKey)
|
||||||
/* Set Interrupt */
|
/* Set Interrupt */
|
||||||
PartialDescriptor = &PartialResourceList->PartialDescriptors[1];
|
PartialDescriptor = &PartialResourceList->PartialDescriptors[1];
|
||||||
PartialDescriptor->Type = CmResourceTypeInterrupt;
|
PartialDescriptor->Type = CmResourceTypeInterrupt;
|
||||||
PartialDescriptor->ShareDisposition = CmResourceShareUndetermined;
|
PartialDescriptor->ShareDisposition = CmResourceShareShared;
|
||||||
PartialDescriptor->Flags = CM_RESOURCE_INTERRUPT_LATCHED;
|
PartialDescriptor->Flags = CM_RESOURCE_INTERRUPT_LATCHED;
|
||||||
PartialDescriptor->u.Interrupt.Level = Irq[i];
|
PartialDescriptor->u.Interrupt.Level = Irq[i];
|
||||||
PartialDescriptor->u.Interrupt.Vector = 0;
|
PartialDescriptor->u.Interrupt.Vector = Irq[i];
|
||||||
PartialDescriptor->u.Interrupt.Affinity = 0xFFFFFFFF;
|
PartialDescriptor->u.Interrupt.Affinity = 0xFFFFFFFF;
|
||||||
|
|
||||||
/* Set serial data (device specific) */
|
/* Set serial data (device specific) */
|
||||||
|
@ -1529,7 +1529,7 @@ DetectParallelPorts(PCONFIGURATION_COMPONENT_DATA BusKey)
|
||||||
PartialDescriptor->ShareDisposition = CmResourceShareUndetermined;
|
PartialDescriptor->ShareDisposition = CmResourceShareUndetermined;
|
||||||
PartialDescriptor->Flags = CM_RESOURCE_INTERRUPT_LATCHED;
|
PartialDescriptor->Flags = CM_RESOURCE_INTERRUPT_LATCHED;
|
||||||
PartialDescriptor->u.Interrupt.Level = Irq[i];
|
PartialDescriptor->u.Interrupt.Level = Irq[i];
|
||||||
PartialDescriptor->u.Interrupt.Vector = 0;
|
PartialDescriptor->u.Interrupt.Vector = Irq[i];
|
||||||
PartialDescriptor->u.Interrupt.Affinity = 0xFFFFFFFF;
|
PartialDescriptor->u.Interrupt.Affinity = 0xFFFFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1715,7 +1715,7 @@ DetectKeyboardController(PCONFIGURATION_COMPONENT_DATA BusKey)
|
||||||
PartialDescriptor->ShareDisposition = CmResourceShareUndetermined;
|
PartialDescriptor->ShareDisposition = CmResourceShareUndetermined;
|
||||||
PartialDescriptor->Flags = CM_RESOURCE_INTERRUPT_LATCHED;
|
PartialDescriptor->Flags = CM_RESOURCE_INTERRUPT_LATCHED;
|
||||||
PartialDescriptor->u.Interrupt.Level = 1;
|
PartialDescriptor->u.Interrupt.Level = 1;
|
||||||
PartialDescriptor->u.Interrupt.Vector = 0;
|
PartialDescriptor->u.Interrupt.Vector = 1;
|
||||||
PartialDescriptor->u.Interrupt.Affinity = 0xFFFFFFFF;
|
PartialDescriptor->u.Interrupt.Affinity = 0xFFFFFFFF;
|
||||||
|
|
||||||
/* Set IO Port 0x60 */
|
/* Set IO Port 0x60 */
|
||||||
|
@ -1887,7 +1887,7 @@ DetectPS2Mouse(PCONFIGURATION_COMPONENT_DATA BusKey)
|
||||||
PartialResourceList.PartialDescriptors[0].ShareDisposition = CmResourceShareUndetermined;
|
PartialResourceList.PartialDescriptors[0].ShareDisposition = CmResourceShareUndetermined;
|
||||||
PartialResourceList.PartialDescriptors[0].Flags = CM_RESOURCE_INTERRUPT_LATCHED;
|
PartialResourceList.PartialDescriptors[0].Flags = CM_RESOURCE_INTERRUPT_LATCHED;
|
||||||
PartialResourceList.PartialDescriptors[0].u.Interrupt.Level = 12;
|
PartialResourceList.PartialDescriptors[0].u.Interrupt.Level = 12;
|
||||||
PartialResourceList.PartialDescriptors[0].u.Interrupt.Vector = 0;
|
PartialResourceList.PartialDescriptors[0].u.Interrupt.Vector = 12;
|
||||||
PartialResourceList.PartialDescriptors[0].u.Interrupt.Affinity = 0xFFFFFFFF;
|
PartialResourceList.PartialDescriptors[0].u.Interrupt.Affinity = 0xFFFFFFFF;
|
||||||
|
|
||||||
/* Create controller key */
|
/* Create controller key */
|
||||||
|
|
Loading…
Reference in a new issue