git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003050101
[reactos.git]
/
hal
/
halx86
/
isa.c
diff --git
a/hal/halx86/isa.c
b/hal/halx86/isa.c
index
d97e342
..
12449f6
100644
(file)
--- a/
hal/halx86/isa.c
+++ b/
hal/halx86/isa.c
@@
-11,8
+11,12
@@
/* INCLUDES ***************************************************************/
/* INCLUDES ***************************************************************/
+#include <roscfg.h>
#include <ddk/ntddk.h>
#include <bus.h>
#include <ddk/ntddk.h>
#include <bus.h>
+#ifdef MP
+#include <mps.h>
+#endif
/* FUNCTIONS *****************************************************************/
/* FUNCTIONS *****************************************************************/
@@
-67,8
+71,14
@@
HalpGetIsaInterruptVector(PVOID BusHandler,
PKIRQL Irql,
PKAFFINITY Affinity)
{
PKIRQL Irql,
PKAFFINITY Affinity)
{
+#ifdef MP
+ *Irql = PROFILE_LEVEL - BusInterruptVector;
+ *Affinity = 0xFFFFFFFF;
+ return IRQ2VECTOR(BusInterruptVector);
+#else
*Irql = PROFILE_LEVEL - BusInterruptVector;
*Affinity = 0xFFFFFFFF;
return BusInterruptVector;
*Irql = PROFILE_LEVEL - BusInterruptVector;
*Affinity = 0xFFFFFFFF;
return BusInterruptVector;
+#endif
}
/* EOF */
}
/* EOF */