From a92749485e4341d094d91c83170d388f7bcae517 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 17 Jun 2012 02:49:59 +0200 Subject: [PATCH] archacpi: boot processor comment --- sys/src/9/pc/archacpi.c | 6 +++--- 1 file 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;