From mboxrd@z Thu Jan 1 00:00:00 1970 From: ilikepie420@live.com (bob) Date: Thu, 20 Oct 2011 15:07:18 -0400 Subject: mmap local APIC address In-Reply-To: References: Message-ID: <20111020190718.GA5003@thinkpad> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org > #define APIC_ICR_high 0xfee00310 > apic_icr = tmpaddress; > apic_icr |= APIC_ICR_high; > apic_phy_addr = (unsigned long *) apic_icr; > *apic_phy_addr = cpu << 24; You mangled apic_icr here, APIC_ICR_high should be an offset. Look at the definitions in arch/x86/include/asm/apicdef.h.