From: David Woodhouse Date: Sat, 26 Jan 2013 01:33:58 +0000 (-0600) Subject: Export copy_smbios() from biostables.c X-Git-Tag: rel-1.7.3~132 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=38b24dba0672c9fa0b9eeb63848dc3e5a8ef44e6;p=seabios.git Export copy_smbios() from biostables.c Yes, copy_table() would invoke it, but CSM will *only* use it for SMBIOS tables and however much we trick the compiler by gratuitously checking the table signature right before calling copy_table(), it still doesn't seem to notice that fact. And emits code for all the other three cases we don't care about. Signed-off-by: David Woodhouse --- diff --git a/src/biostables.c b/src/biostables.c index 81cc79b..7b860e1 100644 --- a/src/biostables.c +++ b/src/biostables.c @@ -83,7 +83,7 @@ copy_acpi_rsdp(void *pos) RsdpAddr = newpos; } -static void +void copy_smbios(void *pos) { if (SMBiosAddr) diff --git a/src/util.h b/src/util.h index eb35d02..84915ed 100644 --- a/src/util.h +++ b/src/util.h @@ -333,6 +333,7 @@ void coreboot_preinit(void); void coreboot_cbfs_init(void); // biostable.c +void copy_smbios(void *pos); void copy_table(void *pos); // vgahooks.c