]> xenbits.xensource.com Git - seabios.git/commitdiff
Export copy_smbios() from biostables.c
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 26 Jan 2013 01:33:58 +0000 (19:33 -0600)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 7 Feb 2013 05:10:37 +0000 (00:10 -0500)
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 <David.Woodhouse@intel.com>
src/biostables.c
src/util.h

index 81cc79b2f87b5037b76c14c6934a309f0195e3ae..7b860e1db7af121b5ed63a0f1846824ec8654777 100644 (file)
@@ -83,7 +83,7 @@ copy_acpi_rsdp(void *pos)
     RsdpAddr = newpos;
 }
 
-static void
+void
 copy_smbios(void *pos)
 {
     if (SMBiosAddr)
index eb35d02c9b1d41bd4d4dc32cdbf63a0c2fa5673c..84915edf06fb210dcdedd2f433630c3d580db1ae 100644 (file)
@@ -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