Fix build (oh how I hate this mini_hal thing)

svn path=/trunk/; revision=53677
This commit is contained in:
Timo Kreuzer 2011-09-10 21:56:07 +00:00
parent 74634a76e2
commit 0e5e391c4a

View file

@ -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 @@ HalpVectorToIrq(UCHAR Vector);
#define IRQ2VECTOR(irq) HalpIrqToVector(irq)
#endif