set APICID of the boot processor to 0
This commit is contained in:
parent
92c5917ef4
commit
e3e06fe523
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ static int lapic_reset(void)
|
|||
lapic_write(APIC_LINT0, 0x7C); // connect LINT0 to idt entry 124
|
||||
lapic_write(APIC_LINT1, 0x7D); // connect LINT1 to idt entry 125
|
||||
lapic_write(APIC_LVT_ER, 0x7E); // connect error to idt entry 126
|
||||
lapic_write(APIC_ID, 0x00); // reset boot processor id
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue