TianoCore EDK2 master
LocalApic.h File Reference

Go to the source code of this file.

Data Structures

union  LOCAL_APIC_VERSION
 
union  LOCAL_APIC_ICR_LOW
 
union  LOCAL_APIC_ICR_HIGH
 
union  LOCAL_APIC_SVR
 
union  LOCAL_APIC_DCR
 
union  LOCAL_APIC_LVT_TIMER
 
union  LOCAL_APIC_LVT_LINT
 
union  LOCAL_APIC_MSI_ADDRESS
 
union  LOCAL_APIC_MSI_DATA
 

Macros

#define XAPIC_ID_OFFSET   0x20
 
#define XAPIC_VERSION_OFFSET   0x30
 
#define XAPIC_EOI_OFFSET   0x0b0
 
#define XAPIC_ICR_DFR_OFFSET   0x0e0
 
#define XAPIC_SPURIOUS_VECTOR_OFFSET   0x0f0
 
#define XAPIC_ICR_LOW_OFFSET   0x300
 
#define XAPIC_ICR_HIGH_OFFSET   0x310
 
#define XAPIC_LVT_TIMER_OFFSET   0x320
 
#define XAPIC_LVT_LINT0_OFFSET   0x350
 
#define XAPIC_LVT_LINT1_OFFSET   0x360
 
#define XAPIC_TIMER_INIT_COUNT_OFFSET   0x380
 
#define XAPIC_TIMER_CURRENT_COUNT_OFFSET   0x390
 
#define XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET   0x3E0
 
#define X2APIC_MSR_BASE_ADDRESS   0x800
 
#define X2APIC_MSR_ICR_ADDRESS   0x830
 
#define LOCAL_APIC_DELIVERY_MODE_FIXED   0
 
#define LOCAL_APIC_DELIVERY_MODE_LOWEST_PRIORITY   1
 
#define LOCAL_APIC_DELIVERY_MODE_SMI   2
 
#define LOCAL_APIC_DELIVERY_MODE_NMI   4
 
#define LOCAL_APIC_DELIVERY_MODE_INIT   5
 
#define LOCAL_APIC_DELIVERY_MODE_STARTUP   6
 
#define LOCAL_APIC_DELIVERY_MODE_EXTINT   7
 
#define LOCAL_APIC_DESTINATION_SHORTHAND_NO_SHORTHAND   0
 
#define LOCAL_APIC_DESTINATION_SHORTHAND_SELF   1
 
#define LOCAL_APIC_DESTINATION_SHORTHAND_ALL_INCLUDING_SELF   2
 
#define LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF   3
 

Detailed Description

IA32 Local APIC Definitions.

Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file LocalApic.h.

Macro Definition Documentation

◆ LOCAL_APIC_DELIVERY_MODE_EXTINT

#define LOCAL_APIC_DELIVERY_MODE_EXTINT   7

Definition at line 38 of file LocalApic.h.

◆ LOCAL_APIC_DELIVERY_MODE_FIXED

#define LOCAL_APIC_DELIVERY_MODE_FIXED   0

Definition at line 32 of file LocalApic.h.

◆ LOCAL_APIC_DELIVERY_MODE_INIT

#define LOCAL_APIC_DELIVERY_MODE_INIT   5

Definition at line 36 of file LocalApic.h.

◆ LOCAL_APIC_DELIVERY_MODE_LOWEST_PRIORITY

#define LOCAL_APIC_DELIVERY_MODE_LOWEST_PRIORITY   1

Definition at line 33 of file LocalApic.h.

◆ LOCAL_APIC_DELIVERY_MODE_NMI

#define LOCAL_APIC_DELIVERY_MODE_NMI   4

Definition at line 35 of file LocalApic.h.

◆ LOCAL_APIC_DELIVERY_MODE_SMI

#define LOCAL_APIC_DELIVERY_MODE_SMI   2

Definition at line 34 of file LocalApic.h.

◆ LOCAL_APIC_DELIVERY_MODE_STARTUP

#define LOCAL_APIC_DELIVERY_MODE_STARTUP   6

Definition at line 37 of file LocalApic.h.

◆ LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF

#define LOCAL_APIC_DESTINATION_SHORTHAND_ALL_EXCLUDING_SELF   3

Definition at line 43 of file LocalApic.h.

◆ LOCAL_APIC_DESTINATION_SHORTHAND_ALL_INCLUDING_SELF

#define LOCAL_APIC_DESTINATION_SHORTHAND_ALL_INCLUDING_SELF   2

Definition at line 42 of file LocalApic.h.

◆ LOCAL_APIC_DESTINATION_SHORTHAND_NO_SHORTHAND

#define LOCAL_APIC_DESTINATION_SHORTHAND_NO_SHORTHAND   0

Definition at line 40 of file LocalApic.h.

◆ LOCAL_APIC_DESTINATION_SHORTHAND_SELF

#define LOCAL_APIC_DESTINATION_SHORTHAND_SELF   1

Definition at line 41 of file LocalApic.h.

◆ X2APIC_MSR_BASE_ADDRESS

#define X2APIC_MSR_BASE_ADDRESS   0x800

Definition at line 29 of file LocalApic.h.

◆ X2APIC_MSR_ICR_ADDRESS

#define X2APIC_MSR_ICR_ADDRESS   0x830

Definition at line 30 of file LocalApic.h.

◆ XAPIC_EOI_OFFSET

#define XAPIC_EOI_OFFSET   0x0b0

Definition at line 17 of file LocalApic.h.

◆ XAPIC_ICR_DFR_OFFSET

#define XAPIC_ICR_DFR_OFFSET   0x0e0

Definition at line 18 of file LocalApic.h.

◆ XAPIC_ICR_HIGH_OFFSET

#define XAPIC_ICR_HIGH_OFFSET   0x310

Definition at line 21 of file LocalApic.h.

◆ XAPIC_ICR_LOW_OFFSET

#define XAPIC_ICR_LOW_OFFSET   0x300

Definition at line 20 of file LocalApic.h.

◆ XAPIC_ID_OFFSET

#define XAPIC_ID_OFFSET   0x20

Definition at line 15 of file LocalApic.h.

◆ XAPIC_LVT_LINT0_OFFSET

#define XAPIC_LVT_LINT0_OFFSET   0x350

Definition at line 23 of file LocalApic.h.

◆ XAPIC_LVT_LINT1_OFFSET

#define XAPIC_LVT_LINT1_OFFSET   0x360

Definition at line 24 of file LocalApic.h.

◆ XAPIC_LVT_TIMER_OFFSET

#define XAPIC_LVT_TIMER_OFFSET   0x320

Definition at line 22 of file LocalApic.h.

◆ XAPIC_SPURIOUS_VECTOR_OFFSET

#define XAPIC_SPURIOUS_VECTOR_OFFSET   0x0f0

Definition at line 19 of file LocalApic.h.

◆ XAPIC_TIMER_CURRENT_COUNT_OFFSET

#define XAPIC_TIMER_CURRENT_COUNT_OFFSET   0x390

Definition at line 26 of file LocalApic.h.

◆ XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET

#define XAPIC_TIMER_DIVIDE_CONFIGURATION_OFFSET   0x3E0

Definition at line 27 of file LocalApic.h.

◆ XAPIC_TIMER_INIT_COUNT_OFFSET

#define XAPIC_TIMER_INIT_COUNT_OFFSET   0x380

Definition at line 25 of file LocalApic.h.

◆ XAPIC_VERSION_OFFSET

#define XAPIC_VERSION_OFFSET   0x30

Definition at line 16 of file LocalApic.h.