seabios: fix mptable nmi entry
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Mon, 10 Oct 2011 06:06:29 +0000 (14:06 +0800)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 30 Oct 2011 17:45:28 +0000 (13:45 -0400)
In the current seabios MP table description, NMI is connected only to
BSP's LINT1. But usually NMI is connected to all the CPUs' LINT1 as
indicated in MP specification. This patch changes seabios MP table to
describe NMI is connected to all the CPUs' LINT1.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
src/mptable.c

index 3100c9a20a25208dd04ea3feaacf7b5775d23aac..103f46243d8cd3b89afa3fc44f97901f8e265908 100644 (file)
@@ -169,7 +169,7 @@ mptable_init(void)
     intsrc->irqflag = 0; /* PO, EL default */
     intsrc->srcbus = isabusid; /* ISA */
     intsrc->srcbusirq = 0;
-    intsrc->dstapic = 0; /* BSP == APIC #0 */
+    intsrc->dstapic = 0xff; /* to all local APICs */
     intsrc->dstirq = 1; /* LINTIN1 */
     intsrc++;
     entrycount += intsrc - intsrcs;