aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-05-27 12:53:34 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-05-27 12:53:34 -0700
commit2892315ca6843029765033a4283b0e22e979f5bd (patch)
tree32e222b6146409870b6e74df9d0e11a99b8e0ca4 /com32/gplinclude
parent9d5d0a2460b02bb5c942bbec33dfc87e5ef6afb6 (diff)
downloadsyslinux-2892315ca6843029765033a4283b0e22e979f5bd.tar.gz
syslinux-2892315ca6843029765033a4283b0e22e979f5bd.tar.xz
syslinux-2892315ca6843029765033a4283b0e22e979f5bd.zip
gpllib: Add support for 3.3.12 OEM Strings (Type 11) (dmi)
From SMBIOS spec (v2.6.1): This structure contains free form strings defined by the OEM. Examples of this are: Part Numbers for Reference Documents for the system, contact information for the manufacturer, etc. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude')
-rw-r--r--com32/gplinclude/dmi/dmi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/gplinclude/dmi/dmi.h b/com32/gplinclude/dmi/dmi.h
index f087df56..5ef09f92 100644
--- a/com32/gplinclude/dmi/dmi.h
+++ b/com32/gplinclude/dmi/dmi.h
@@ -15,6 +15,7 @@
#include <inttypes.h>
#define MAX_DMI_MEMORY_ITEMS 32
#define MAX_DMI_CACHE_ITEMS 32
+#define OEM_STRINGS_SIZE 100
#define PAGE_SIZE 4096
@@ -74,6 +75,7 @@ typedef struct {
int memory_count;
int cache_count;
dmi_table dmitable;
+ char oem_strings[OEM_STRINGS_SIZE];
} s_dmi;
void to_dmi_header(struct dmi_header *h, uint8_t *data);