Author: sir_richard
Date: Mon Jun 7 22:37:45 2010
New Revision: 47675
URL:
http://svn.reactos.org/svn/reactos?rev=47675&view=rev
Log:
[HAL]: Implement PCI Vector/IRQL translation too.
Modified:
trunk/reactos/hal/halx86/generic/legacy/bus/pcibus.c
Modified: trunk/reactos/hal/halx86/generic/legacy/bus/pcibus.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/legacy/…
==============================================================================
--- trunk/reactos/hal/halx86/generic/legacy/bus/pcibus.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/generic/legacy/bus/pcibus.c [iso-8859-1] Mon Jun 7 22:37:45
2010
@@ -516,9 +516,16 @@
OUT PKIRQL Irql,
OUT PKAFFINITY Affinity)
{
- UNIMPLEMENTED;
- while (TRUE);
- return 0;
+ /* Validate the level first */
+ if (BusInterruptLevel < 1) return 0;
+
+ /* PCI has its IRQs on top of ISA IRQs, so pass it on to the ISA handler */
+ return HalGetInterruptVector(Isa,
+ 0,
+ BusInterruptLevel,
+ 0,
+ Irql,
+ Affinity);
}
VOID