Author: tkreuzer
Date: Mon Sep 5 15:28:49 2011
New Revision: 53601
URL:
http://svn.reactos.org/svn/reactos?rev=53601&view=rev
Log:
Fix build
Modified:
trunk/reactos/hal/halx86/include/halirq.h
Modified: trunk/reactos/hal/halx86/include/halirq.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/include/halirq.…
==============================================================================
--- trunk/reactos/hal/halx86/include/halirq.h [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/include/halirq.h [iso-8859-1] Mon Sep 5 15:28:49 2011
@@ -3,6 +3,12 @@
*/
#pragma once
+
+#ifdef _MINIHAL_
+#define VECTOR2IRQ(vector) ((vector) - PRIMARY_VECTOR_BASE)
+#define VECTOR2IRQL(vector) (PROFILE_LEVEL - VECTOR2IRQ(vector))
+#define IRQ2VECTOR(irq) ((irq) + PRIMARY_VECTOR_BASE)
+#else
UCHAR
FASTCALL
@@ -20,3 +26,4 @@
#define VECTOR2IRQL(vector) HalpVectorToIrql(vector)
#define IRQ2VECTOR(irq) HalpIrqToVector(irq)
+#endif