Anonymous user
APIC: Difference between revisions
no edit summary
[unchecked revision] | [unchecked revision] |
No edit summary |
|||
Line 76:
void enable_apic() {
// Warning! Some CPUs do require you to set up a well known state by setting the DFR, LDR, SVR and TPR registers. Not doing this might leave the Local APIC disabled... For more information see Chapter 11 of Volume 3 in the Intel SDM
/* Hardware enable the Local APIC if it wasn't enabled */
cpu_set_apic_base(cpu_get_apic_base());
|