ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

halirq.h
Go to the documentation of this file.
00001 /*
00002  * $Id: halirq.h 53677 2011-09-10 21:56:07Z tkreuzer $
00003  */
00004 
00005 #pragma once
00006 
00007 #ifdef _MINIHAL_
00008 #define VECTOR2IRQ(vector)  ((vector) - PRIMARY_VECTOR_BASE)
00009 #define VECTOR2IRQL(vector) (PROFILE_LEVEL - VECTOR2IRQ(vector))
00010 #define IRQ2VECTOR(irq)     ((irq) + PRIMARY_VECTOR_BASE)
00011 #define HalpVectorToIrq(vector) ((vector) - PRIMARY_VECTOR_BASE)
00012 #define HalpVectorToIrql(vector)    (PROFILE_LEVEL - VECTOR2IRQ(vector))
00013 #define HalpIrqToVector(irq)        ((irq) + PRIMARY_VECTOR_BASE)
00014 #else
00015 
00016 UCHAR
00017 FASTCALL
00018 HalpIrqToVector(UCHAR Irq);
00019 
00020 KIRQL
00021 FASTCALL
00022 HalpVectorToIrql(UCHAR Vector);
00023 
00024 UCHAR
00025 FASTCALL
00026 HalpVectorToIrq(UCHAR Vector);
00027 
00028 #define VECTOR2IRQ(vector)  HalpVectorToIrq(vector)
00029 #define VECTOR2IRQL(vector) HalpVectorToIrql(vector)
00030 #define IRQ2VECTOR(irq)     HalpIrqToVector(irq)
00031 
00032 #endif
00033 

Generated on Fri May 25 2012 04:26:57 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.