mmap local APIC address

Vaibhav Jain vjoss197 at gmail.com
Fri Oct 21 13:55:54 EDT 2011


On Thu, Oct 20, 2011 at 12:07 PM, bob <ilikepie420 at live.com> wrote:

> > #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.
>

My bad!! Thanks Bob for pointing it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111021/23d285a7/attachment.html 


More information about the Kernelnewbies mailing list