ref: 017cf77a2b81df2d21402df3eb7108fbf39635ab
parent: 394a8d64c4f31070cea1c5d3dd0c50960b4db8d6
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Sat Jun 16 22:49:59 EDT 2012
archacpi: boot processor comment
--- a/sys/src/9/pc/archacpi.c
+++ b/sys/src/9/pc/archacpi.c
@@ -375,7 +375,7 @@
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 @@
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;
--
⑨