summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-06-17 02:49:59 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-06-17 02:49:59 +0200
commita92749485e4341d094d91c83170d388f7bcae517 (patch)
tree569379023e247c6516fc9aba9bd76f3ef43aa01d
parentb7b8be68311feb50d533a108793cae646281a411 (diff)
downloadplan9front-a92749485e4341d094d91c83170d388f7bcae517.tar.xz
archacpi: boot processor comment
-rw-r--r--sys/src/9/pc/archacpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/9/pc/archacpi.c b/sys/src/9/pc/archacpi.c
index ab5889f20..7796d25c6 100644
--- a/sys/src/9/pc/archacpi.c
+++ b/sys/src/9/pc/archacpi.c
@@ -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;