mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +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
|
||||
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue