murray | 9 Jan 2010 12:01

Re: Call for testing: x2apic

Hi Folks,
   With the suggested addition of support for x2apic, the x2apic enable
flag in the IA32_APIC_BASE MSR register could be added to
sys/arch/x86/include/i82489reg.h... for completeness of register
documentation at least, even if not used.

    ...as documented in the Intel 64 and IA32 Architectures Software
Developers Manual 3A, chapter 10.5.1.

--- sys/arch/x86/include/i82489reg.h.orig       2010-01-09
10:50:58.000000000 +0000
+++ sys/arch/x86/include/i82489reg.h
 <at>  <at>  -149,6 +149,7  <at>  <at> 

 #define        LAPIC_MSR       0x001b
 #      define  LAPIC_MSR_BSP           0x00000100      /* boot processor */
+#      define  LAPIC_MSR_ENABLE_x2     0x00000400      /* x2APIC mode */
 #      define  LAPIC_MSR_ENABLE        0x00000800      /* software enable */
 #      define  LAPIC_MSR_ADDR          0xfffff000      /* physical
address */

Take care,
    murray armfield


Gmane