Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69489 )
Change subject: arch/x86/mpspec.c: Drop weak write_smp_table() ......................................................................
arch/x86/mpspec.c: Drop weak write_smp_table()
Creating MP table is not useful when it does not include the interrupt routing entries.
Change-Id: I1f38fb32a9436de64dfaf82e426cbd64b220ffa7 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/arch/x86/mpspec.c 1 file changed, 13 insertions(+), 22 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/69489/1
diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c index 15b64b3..cbf6743 100644 --- a/src/arch/x86/mpspec.c +++ b/src/arch/x86/mpspec.c @@ -507,25 +507,3 @@ mc, smp_next_mpe_entry(mc)); return smp_next_mpe_entry(mc); } - -unsigned long __weak write_smp_table(unsigned long addr) -{ - struct mp_config_table *mc; - int isa_bus; - void *tmp, *v; - - v = smp_write_floating_table(addr, 0); - mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN); - - mptable_init(mc); - - smp_write_processors(mc); - - mptable_write_buses(mc, NULL, &isa_bus); - - mptable_lintsrc(mc, isa_bus); - tmp = mptable_finalize(mc); - printk(BIOS_INFO, "MPTABLE len: %d\n", (unsigned int)((uintptr_t)tmp - - (uintptr_t)v)); - return (unsigned long)tmp; -}