summaryrefslogtreecommitdiff
path: root/src/fw/biostables.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fw/biostables.c')
-rw-r--r--src/fw/biostables.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/fw/biostables.c b/src/fw/biostables.c
index 3c30331..1adc694 100644
--- a/src/fw/biostables.c
+++ b/src/fw/biostables.c
@@ -315,6 +315,15 @@ copy_smbios_21(void *pos)
SMBios21Addr = copy_fseg_table("SMBIOS", pos, p->length);
}
+void *smbios_get_tables(u32 *length)
+{
+ if (SMBios21Addr) {
+ *length = SMBios21Addr->structure_table_length;
+ return (void *)SMBios21Addr->structure_table_address;
+ }
+ return NULL;
+}
+
void
display_uuid(void)
{