adapt to freebios v2. still doesnt handle comments correctly.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1838 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
a335402bec
commit
a734f53721
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue