Merge 16860 from trunk:
Initialize DescriptorTranslated->u.Interrupt.Level before calling
HalGetInterruptVector. Remember, casting hides bugs! Debugged by Hervé
Poussineau.
Modified: branches/ros-branch-0_2_7/reactos/ntoskrnl/io/pnpmgr.c
_____
Modified: branches/ros-branch-0_2_7/reactos/ntoskrnl/io/pnpmgr.c
--- branches/ros-branch-0_2_7/reactos/ntoskrnl/io/pnpmgr.c
2005-08-03 17:18:54 UTC (rev 17020)
+++ branches/ros-branch-0_2_7/reactos/ntoskrnl/io/pnpmgr.c
2005-08-03 17:19:36 UTC (rev 17021)
@@ -1035,6 +1035,7 @@
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,
Show replies by date