- Fix the ASSERT in KeConnectInterrupt for debug single-processor builds (but keep the old one for multiprocessor build to make it less confusing if it is hit).
svn path=/trunk/; revision=69075
/* The vector is shared and the interrupts are compatible */
Interrupt->Connected = Connected = TRUE;
- /* FIXME */
- // ASSERT(Irql <= SYNCH_LEVEL);
+ /*
+ * Verify the IRQL for chained connect,
+ */
+#if defined(CONFIG_SMP)
+ ASSERT(Irql <= SYNCH_LEVEL);
+#elif (NTDDI_VERSION >= NTDDI_WS03)
+ ASSERT(Irql <= (IPI_LEVEL - 2));
+#else
+ ASSERT(Irql <= (IPI_LEVEL - 1));
+#endif
/* Check if this is the first chain */
if (Dispatch.Type != ChainConnect)
/* Make sure that we're at APC_LEVEL and that this is a valid frame */
ASSERT(KeGetCurrentIrql() == APC_LEVEL);
- //ASSERT(TrapFrame->DbgArgMark == 0xBADB0D00);
+ ASSERT(TrapFrame->DbgArgMark == 0xBADB0D00);
/* Check if this is a V86 frame */
if (TrapFrame->EFlags & EFLAGS_V86_MASK)