aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2011-10-10 14:06:29 +0800
committerKevin O'Connor <kevin@koconnor.net>2011-10-30 13:45:28 -0400
commit55e28a48f0bd91e151fc10d99c22161d55eeba71 (patch)
tree259d7a5bcc0da7d1b6bbb3874391a39d13c867ee
parent7098638930d87e369ec62b6036a4ba15036c11fd (diff)
downloadseabios-master.tar.gz
seabios: fix mptable nmi entryHEADmaster
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>
-rw-r--r--src/mptable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mptable.c b/src/mptable.c
index 3100c9a..103f462 100644
--- a/src/mptable.c
+++ b/src/mptable.c
@@ -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;