mirror of
https://github.com/reactos/reactos.git
synced 2025-03-27 15:40:45 +00:00
Fix build
svn path=/trunk/; revision=53601
This commit is contained in:
parent
f627019d71
commit
5770481f78
1 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,12 @@
|
||||||
|
|
||||||
#pragma once
|
#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
|
UCHAR
|
||||||
FASTCALL
|
FASTCALL
|
||||||
HalpIrqToVector(UCHAR Irq);
|
HalpIrqToVector(UCHAR Irq);
|
||||||
|
@ -20,3 +26,4 @@ HalpVectorToIrq(UCHAR Vector);
|
||||||
#define VECTOR2IRQL(vector) HalpVectorToIrql(vector)
|
#define VECTOR2IRQL(vector) HalpVectorToIrql(vector)
|
||||||
#define IRQ2VECTOR(irq) HalpIrqToVector(irq)
|
#define IRQ2VECTOR(irq) HalpIrqToVector(irq)
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue