apic: Initialize LAPIC before programming I/O APIC
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 19 Mar 2011 07:47:20 +0000 (15:47 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 19 Mar 2011 07:52:10 +0000 (15:52 +0800)
commita40ec0038b5c39aa2950b64996e0f05138fc0a2e
treea38abb5538f3f69e97a71ebae17f18d3f3db702c
parent4d08e03847639314826048c33a5887a4bd35074f
apic: Initialize LAPIC before programming I/O APIC

On the system without IMCR, I/O APIC is enabled when it is first accessed.
Before I/O APIC is enabled, LAPIC should be initialized.
sys/platform/pc32/i386/mp_machdep.c
sys/platform/pc64/x86_64/mp_machdep.c