X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fcoreboot.c;h=ee9dd8b4b4d91171440f949673e062574c2f504f;hb=184705fc8c7d8ef75a6cfca4d61cbf35c0df0334;hp=59269398c58a1c44e0d5f4d48e6b0460026180dd;hpb=c1de91b3110cb163526784439e315d24b8e5311a;p=seabios.git diff --git a/src/coreboot.c b/src/coreboot.c index 5926939..ee9dd8b 100644 --- a/src/coreboot.c +++ b/src/coreboot.c @@ -201,6 +201,7 @@ scan_tables(u32 start, u32 size) copy_pir(p); copy_mptable(p); copy_acpi_rsdp(p); + copy_smbios(p); } } @@ -221,9 +222,9 @@ coreboot_copy_biostable(void) scan_tables(m->start, m->size); } - // XXX - just create dummy smbios table for now - should detect if - // smbios/dmi table is found from coreboot and use that instead. - smbios_init(); + // XXX - create a dummy smbios table for now. + if (!SMBiosAddr) + smbios_init(); }