archacpi: boot processor comment
This commit is contained in:
parent
b7b8be6831
commit
a92749485e
1 changed files with 3 additions and 3 deletions
|
@ -375,7 +375,7 @@ acpiinit(void)
|
|||
amleval(amlwalk(amlroot, "_PIC"), "i", 1, nil);
|
||||
|
||||
if((t = findtable("APIC")) == nil)
|
||||
panic("acpiinit: no APIC table found");
|
||||
panic("acpiinit: no MADT table");
|
||||
|
||||
p = t->data;
|
||||
e = p + tbldlen(t);
|
||||
|
@ -407,8 +407,8 @@ acpiinit(void)
|
|||
a->machno = machno++;
|
||||
|
||||
/*
|
||||
* how do we know if this is the
|
||||
* bootstrap processors apic?
|
||||
* platform firmware should list the boot processor
|
||||
* as the first processor entry in the MADT
|
||||
*/
|
||||
if(a->machno == 0)
|
||||
a->flags |= PcmpBP;
|
||||
|
|
Loading…
Reference in a new issue