mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
Initialize DescriptorTranslated->u.Interrupt.Level before calling HalGetInterruptVector. Remember, casting hides bugs! Debugged by Hervé Poussineau.
svn path=/trunk/; revision=16860
This commit is contained in:
parent
bbdbd036ca
commit
93155e947c
1 changed files with 1 additions and 0 deletions
|
@ -1003,6 +1003,7 @@ IopAssignDeviceResources(
|
|||
else
|
||||
DescriptorRaw->u.Interrupt.Vector = ResourceDescriptor->u.Interrupt.MinimumVector;
|
||||
|
||||
DescriptorTranslated->u.Interrupt.Level = 0;
|
||||
DescriptorTranslated->u.Interrupt.Vector = HalGetInterruptVector(
|
||||
DeviceNode->ResourceRequirements->InterfaceType,
|
||||
DeviceNode->ResourceRequirements->BusNumber,
|
||||
|
|
Loading…
Reference in a new issue