archacpi: boot processor comment

front
cinap_lenrek 2012-06-17 02:49:59 +02:00
parent b7b8be6831
commit a92749485e
1 changed files with 3 additions and 3 deletions

View File

@ -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;