Commit 5d16c626 authored by Dave Jones's avatar Dave Jones

[PATCH] Document an errata workaround in apic code.

parent 973d925c
...@@ -90,7 +90,7 @@ void clear_local_APIC(void) ...@@ -90,7 +90,7 @@ void clear_local_APIC(void)
apic_write_around(APIC_LVTPC, APIC_LVT_MASKED); apic_write_around(APIC_LVTPC, APIC_LVT_MASKED);
v = GET_APIC_VERSION(apic_read(APIC_LVR)); v = GET_APIC_VERSION(apic_read(APIC_LVR));
if (APIC_INTEGRATED(v)) { /* !82489DX */ if (APIC_INTEGRATED(v)) { /* !82489DX */
if (maxlvt > 3) if (maxlvt > 3) /* Due to Pentium errata 3AP and 11AP. */
apic_write(APIC_ESR, 0); apic_write(APIC_ESR, 0);
apic_read(APIC_ESR); apic_read(APIC_ESR);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment