background image

Vol. 3A 10-3

ADVANCED PROGRAMMABLE INTERRUPT CONTROLLER (APIC)

Both the local APIC and the I/O APIC are designed to operate in MP systems (see Figures 10-2 and 10-3). Each 
local APIC handles interrupts from the I/O APIC, IPIs from processors on the system bus, and self-generated inter-
rupts. Interrupts can also be delivered to the individual processors through the local interrupt pins; however, this 
mechanism is commonly not used in MP systems.

The IPI mechanism is typically used in MP systems to send fixed interrupts (interrupts for a specific vector number) 
and special-purpose interrupts to processors on the system bus. For example, a local APIC can use an IPI to 
forward a fixed interrupt to another processor for servicing. Special-purpose IPIs (including NMI, INIT, SMI and 
SIPI IPIs) allow one or more processors on the system bus to perform system-wide boot-up and control functions.
The following sections focus on the local APIC and its implementation in the Pentium 4, Intel Xeon, and P6 family 
processors. In these sections, the terms “local APIC” and “I/O APIC” refer to local and I/O APICs used with the P6 
family processors and to local and I/O xAPICs used with the Pentium 4 and Intel Xeon processors (see Section 
10.3, “The Intel

®

 82489DX External APIC, the APIC, the xAPIC, and the X2APIC”). 

 

Figure 10-2.  Local APICs and I/O APIC When Intel Xeon Processors Are Used in Multiple-Processor Systems

 

Figure 10-3.  Local APICs and I/O APIC When P6 Family Processors Are Used in Multiple-Processor Systems

I/O APIC

External

Interrupts

System Chip Set

Processor System Bus

CPU

Local APIC

Processor #2

CPU

Local APIC

Processor #3

CPU

Local APIC

Processor #1

CPU

Local APIC

Processor #3

Bridge

PCI

IPIs

IPIs

IPIs

Interrupt

Messages

IPIs

Interrupt

Messages

Interrupt

Messages

Interrupt

Messages

Interrupt

Messages

CPU

Local APIC

Processor #2

CPU

Local APIC

Processor #3

CPU

Local APIC

Processor #1

Interrupt

Messages

I/O APIC

External

Interrupts

System Chip Set

3-wire APIC Bus 

CPU

Local APIC

Processor #4

IPIs

IPIs

IPIs

IPIs

Interrupt

Messages

Interrupt

Messages

Interrupt

Messages

Interrupt

Messages