summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2005-01-04 15:16:19 +0000
committerStefan Reinauer <stepan@openbios.org>2005-01-04 15:16:19 +0000
commita734f5372156aac1270700421ded7358291c2f4c (patch)
treeae8fc6a9dcf889354944cc5af309fd271a7e6dbd /util
parenta335402bec6511c11ab54c943287e7be7fb1672d (diff)
adapt to freebios v2. still doesnt handle comments correctly.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1838 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r--util/mptable/mptable.c8
1 files changed, 4 insertions, 4 deletions
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 <pci.h>",
"#include <stdint.h>",
"",
-"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
};