Fix build

svn path=/trunk/; revision=53601
This commit is contained in:
Timo Kreuzer 2011-09-05 15:28:49 +00:00
parent f627019d71
commit 5770481f78

View file

@ -4,6 +4,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
HalpIrqToVector(UCHAR Irq);
@ -20,3 +26,4 @@ HalpVectorToIrq(UCHAR Vector);
#define VECTOR2IRQL(vector) HalpVectorToIrql(vector)
#define IRQ2VECTOR(irq) HalpIrqToVector(irq)
#endif