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

ioapic.h File Reference
#include <pshpack1.h>
#include <poppack.h>

Go to the source code of this file.

Data Structures

struct  PIOAPIC_ROUTE_ENTRY
struct  PIOAPIC_INFO

Defines

#define IOAPIC_IOREGSEL   0x0000 /* I/O Register Select (index) (R/W) */
#define IOAPIC_IOWIN   0x0010 /* I/O window (data) (R/W) */
#define IOAPIC_ID   0x0000 /* IO APIC ID (R/W) */
#define IOAPIC_VER   0x0001 /* IO APIC Version (R) */
#define IOAPIC_ARB   0x0002 /* IO APIC Arbitration ID (R) */
#define IOAPIC_REDTBL   0x0010 /* Redirection Table (0-23 64-bit registers) (R/W) */
#define IOAPIC_ID_MASK   (0xF << 24)
#define GET_IOAPIC_ID(x)   ((UCHAR)(((x) & IOAPIC_ID_MASK) >> 24))
#define SET_IOAPIC_ID(x)   ((x) << 24)
#define IOAPIC_VER_MASK   (0xFF)
#define GET_IOAPIC_VERSION(x)   (((x) & IOAPIC_VER_MASK))
#define IOAPIC_MRE_MASK   (0xFF << 16) /* Maximum Redirection Entry */
#define GET_IOAPIC_MRE(x)   (((x) & IOAPIC_MRE_MASK) >> 16)
#define IOAPIC_ARB_MASK   (0xF << 24)
#define GET_IOAPIC_ARB(x)   (((x) & IOAPIC_ARB_MASK) >> 24)
#define IOAPIC_TBL_DELMOD   (0x7 << 10) /* Delivery Mode (see APIC_DM_*) */
#define IOAPIC_TBL_DM   (0x1 << 11) /* Destination Mode */
#define IOAPIC_TBL_DS   (0x1 << 12) /* Delivery Status */
#define IOAPIC_TBL_INTPOL   (0x1 << 13) /* Interrupt Input Pin Polarity */
#define IOAPIC_TBL_RIRR   (0x1 << 14) /* Remote IRR */
#define IOAPIC_TBL_TM   (0x1 << 15) /* Trigger Mode */
#define IOAPIC_TBL_IM   (0x1 << 16) /* Interrupt Mask */
#define IOAPIC_TBL_DF0   (0xF << 56) /* Destination Field (physical mode) */
#define IOAPIC_TBL_DF1   (0xFF<< 56) /* Destination Field (logical mode) */
#define IOAPIC_TBL_VECTOR   (0xFF << 0) /* Vector (10h - FEh) */
#define IOAPIC_DEFAULT_BASE   0xFEC00000 /* Default I/O APIC Base Register Address */

Functions

VOID IOAPICSetupIrqs (VOID)
VOID IOAPICEnable (VOID)
VOID IOAPICSetupIds (VOID)
VOID IOAPICMaskIrq (ULONG Irq)
VOID IOAPICUnmaskIrq (ULONG Irq)
VOID HaliReconfigurePciInterrupts (VOID)
VOID IOAPICDump (VOID)

Variables

ULONG IRQCount
UCHAR BUSMap [MAX_BUS]
UCHAR PCIBUSMap [MAX_BUS]
IOAPIC_INFO IOAPICMap [MAX_IOAPIC]
ULONG IOAPICCount
ULONG APICMode
MP_CONFIGURATION_INTSRC IRQMap [MAX_IRQ_SOURCE]

Generated on Sat May 26 2012 05:26:28 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.