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