APIC: Difference between revisions

238 bytes added ,  1 year ago
no edit summary
[unchecked revision][unchecked revision]
m (Reverted edits by Nudelerde (talk) to last revision by Sebastian)
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());
Anonymous user