Author: tkreuzer
Date: Sat Sep 10 21:56:07 2011
New Revision: 53677
URL:
http://svn.reactos.org/svn/reactos?rev=53677&view=rev
Log:
Fix build (oh how I hate this mini_hal thing)
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] Sat Sep 10 21:56:07 2011
@@ -8,6 +8,9 @@
#define VECTOR2IRQ(vector) ((vector) - PRIMARY_VECTOR_BASE)
#define VECTOR2IRQL(vector) (PROFILE_LEVEL - VECTOR2IRQ(vector))
#define IRQ2VECTOR(irq) ((irq) + PRIMARY_VECTOR_BASE)
+#define HalpVectorToIrq(vector) ((vector) - PRIMARY_VECTOR_BASE)
+#define HalpVectorToIrql(vector) (PROFILE_LEVEL - VECTOR2IRQ(vector))
+#define HalpIrqToVector(irq) ((irq) + PRIMARY_VECTOR_BASE)
#else
UCHAR
@@ -27,3 +30,4 @@
#define IRQ2VECTOR(irq) HalpIrqToVector(irq)
#endif
+