update for HEAD-2003050101
[reactos.git] / hal / halx86 / isa.c
index d97e342..12449f6 100644 (file)
 
 /* INCLUDES ***************************************************************/
 
+#include <roscfg.h>
 #include <ddk/ntddk.h>
 #include <bus.h>
+#ifdef MP
+#include <mps.h>
+#endif
 
 
 /* FUNCTIONS *****************************************************************/
@@ -67,8 +71,14 @@ HalpGetIsaInterruptVector(PVOID BusHandler,
                          PKIRQL Irql,
                          PKAFFINITY Affinity)
 {
+#ifdef MP
+  *Irql = PROFILE_LEVEL - BusInterruptVector;
+  *Affinity = 0xFFFFFFFF;
+  return IRQ2VECTOR(BusInterruptVector);
+#else
   *Irql = PROFILE_LEVEL - BusInterruptVector;
   *Affinity = 0xFFFFFFFF;
   return BusInterruptVector;
+#endif
 }
 /* EOF */