io apic question

Bharath Bhushan bharath.bhushan at gmail.com
Sat Sep 2 06:26:53 UTC 2006


I am looking at 4.9 sources.

When the local apic is mapped into SMPpt in
sys/i386/i386/pmap.c:pmap_bootstrap(), it is mapped cache-disabled
(PG_N).

When the IO apics are being mapped into SMPpt in
sys/i386/i386/mp_machdep.c:mptable_pass2(), it is *not* mapped
cache-disabled.

Why is this difference?

In 5.5, I see that ioapic_create() calls pmap_createdev(), which
allocates cache-enabled kind of mapping.

Am I missing something here?

-- 
Thanks
Bharath


More information about the freebsd-ia32 mailing list