Detecting the Presence and Version of the Local APIC

The programmer can determine whether or not a processor supports the APIC architecture by executing a CPUID request type 1 and verifying that the EDX[APIC] bit = 1 (see Figure 61-7 on page 1509).

Figure 61-7. EDX After a CPUID Request Type 1

Assuming that the APIC is supported, the version of the APIC implementation may be determined by reading the Local APIC's Version Register. It has the format illustrated in Figure 61-8 on page 1510 and contains the following information:

Get The Unabridged Pentium 4 IA32 Processor Genealogy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.