mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
Fix build (oh how I hate this mini_hal thing)
svn path=/trunk/; revision=53677
This commit is contained in:
parent
74634a76e2
commit
0e5e391c4a
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue