ReactOS 0.4.15-dev-5875-g7c755d9
|
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
Classes | |
struct | _IOAPIC_ROUTE_ENTRY |
struct | _IOAPIC_INFO |
Macros | |
#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 */ |
Typedefs | |
typedef struct _IOAPIC_ROUTE_ENTRY | IOAPIC_ROUTE_ENTRY |
typedef struct _IOAPIC_ROUTE_ENTRY * | PIOAPIC_ROUTE_ENTRY |
typedef struct _IOAPIC_INFO | IOAPIC_INFO |
typedef struct _IOAPIC_INFO * | PIOAPIC_INFO |
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] |
#define GET_IOAPIC_ID | ( | x | ) | ((UCHAR)(((x) & IOAPIC_ID_MASK) >> 24)) |
#define IOAPIC_TBL_DF0 (0xF << 56) /* Destination Field (physical mode) */ |
#define IOAPIC_TBL_DF1 (0xFF<< 56) /* Destination Field (logical mode) */ |
#define IOAPIC_TBL_DM (0x1 << 11) /* Destination Mode */ |
typedef struct _IOAPIC_INFO IOAPIC_INFO |
typedef struct _IOAPIC_INFO * PIOAPIC_INFO |
typedef struct _IOAPIC_ROUTE_ENTRY * PIOAPIC_ROUTE_ENTRY |
Definition at line 637 of file ioapic.c.
Definition at line 527 of file ioapic.c.
Definition at line 409 of file ioapic.c.
Referenced by HalAllProcessorsStarted().
Definition at line 497 of file ioapic.c.
Referenced by HalDisableSystemInterrupt().
Definition at line 432 of file ioapic.c.
Referenced by HalAllProcessorsStarted().
Definition at line 296 of file ioapic.c.
Referenced by HalAllProcessorsStarted().
Definition at line 514 of file ioapic.c.
Referenced by HalEnableSystemInterrupt().
|
extern |
Definition at line 49 of file apic.c.
Referenced by APICSetup(), HaliGetSmpConfig(), and HaliInitBSP().
Definition at line 21 of file ioapic.c.
Referenced by HaliMPBusInfo(), HaliReconfigurePciInterrupts(), IRQPolarity(), IRQTrigger(), and Pin2Irq().
|
extern |
Definition at line 25 of file ioapic.c.
Referenced by HaliMPIOApicInfo(), IOAPICClearAll(), IOAPICDump(), IOAPICEnable(), IOAPICSetupIds(), and IOAPICSetupIrqs().
|
extern |
Definition at line 24 of file ioapic.c.
Referenced by HaliConstructDefaultIOIrqMPTable(), HaliMPIOApicInfo(), IOAPICDump(), IOAPICEnable(), IOAPICGetIrqEntry(), IOAPICRead(), IOAPICSetupIds(), IOAPICSetupIrqs(), IOAPICWrite(), and Pin2Irq().
|
extern |
Definition at line 18 of file ioapic.c.
Referenced by HaliGetSmpConfig(), HaliMPIntSrcInfo(), HaliReconfigurePciInterrupts(), IOAPICDump(), IOAPICGetIrqEntry(), and IOAPICSetupIds().
|
extern |
Definition at line 17 of file ioapic.c.
Referenced by HaliMPIntSrcInfo(), HaliReconfigurePciInterrupts(), IOAPICGetIrqEntry(), IOAPICSetupIds(), IRQPolarity(), IRQTrigger(), and Pin2Irq().
Definition at line 22 of file ioapic.c.
Referenced by HaliMPBusInfo().