summaryrefslogtreecommitdiff
path: root/src/include/smbios.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-11-13 13:37:23 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-11-18 12:49:29 +0100
commit06262743c76102083287f5085380138164117bc7 (patch)
tree4cf46a57755a3fe06488b04b95cf6bdbef706c45 /src/include/smbios.h
parenta4affe17f1a31946841b6fa425d0ef4b3ea00855 (diff)
smbios: make manufacturer, product_name and uuid runtime settable
Make manufacturer, product_name and uuid smbios fields (type 1) configurable at runtime, simliar to version and serial number. Change-Id: Ibc826225e31fa42aa944fa43632dd6a406d5c85d Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-on: http://review.coreboot.org/4085 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include/smbios.h')
-rw-r--r--src/include/smbios.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 9051a6991f..ebe167ef20 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -8,8 +8,11 @@ unsigned long smbios_write_tables(unsigned long start);
int smbios_add_string(char *start, const char *str);
int smbios_string_table_len(char *start);
+const char *smbios_mainboard_manufacturer(void);
+const char *smbios_mainboard_product_name(void);
const char *smbios_mainboard_serial_number(void);
const char *smbios_mainboard_version(void);
+void smbios_mainboard_set_uuid(u8 *uuid);
#define BIOS_CHARACTERISTICS_PCI_SUPPORTED (1 << 7)
#define BIOS_CHARACTERISTICS_PC_CARD (1 << 8)