From a734f5372156aac1270700421ded7358291c2f4c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 4 Jan 2005 15:16:19 +0000 Subject: adapt to freebios v2. still doesnt handle comments correctly. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1838 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/mptable/mptable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'util/mptable') diff --git a/util/mptable/mptable.c b/util/mptable/mptable.c index c6d50d4053..4355d7116f 100644 --- a/util/mptable/mptable.c +++ b/util/mptable/mptable.c @@ -308,7 +308,7 @@ char *preamble[] = { "#include ", "#include ", "", -"void *smp_write_config_table(void *v, unsigned long * processor_map)", +"void *smp_write_config_table(void *v)", "{", " static const char sig[4] = \"PCMP\";", " static const char oem[8] = \"LNXI \";", @@ -332,7 +332,7 @@ char *preamble[] = { " mc->mpe_checksum = 0;", " mc->reserved = 0;", "", -" smp_write_processors(mc, processor_map);", +" smp_write_processors(mc);", "", "", 0 @@ -349,11 +349,11 @@ char *postamble[] = { " return smp_next_mpe_entry(mc);", "}", "", -"unsigned long write_smp_table(unsigned long addr, unsigned long *processor_map)", +"unsigned long write_smp_table(unsigned long addr)", "{", " void *v;", " v = smp_write_floating_table(addr);", -" return (unsigned long)smp_write_config_table(v, processor_map);", +" return (unsigned long)smp_write_config_table(v);", "}", 0 }; -- cgit v1.2.3