aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/dmi
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-05-14 22:08:12 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-05-14 22:08:12 -0700
commit3ebc43d1bc1319053e5dcdae3f6669dc975a343e (patch)
treefd056b4b60e9e26b562b1d7664506c786d9792df /com32/gplinclude/dmi
parent46db836cba26dca258554bda0b175cd372144194 (diff)
downloadsyslinux-3ebc43d1bc1319053e5dcdae3f6669dc975a343e.tar.gz
syslinux-3ebc43d1bc1319053e5dcdae3f6669dc975a343e.tar.xz
syslinux-3ebc43d1bc1319053e5dcdae3f6669dc975a343e.zip
gpllib: Add support for 3.3.33 System Boot Information (Type 32) (dmi)
From SMBIOS spec (v2.6.1): 3.3.33 System Boot Information (Type 32): The client system firmware, e.g. BIOS, communicates the System Boot Status to the client’s Pre-boot Execution Environment (PXE) boot image or OS-present management application via this structure. When used in the PXE environment, for example, this code identifies the reason the PXE was initiated and can be used by boot-image software to further automate an enterprise’s PXE sessions. For example, an enterprise could choose to automatically download a hardware-diagnostic image to a client whose reason code indicated either a firmware- or operating system-detected hardware failure. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude/dmi')
-rw-r--r--com32/gplinclude/dmi/dmi_system.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/com32/gplinclude/dmi/dmi_system.h b/com32/gplinclude/dmi/dmi_system.h
index 5a461d5f..d24f82a7 100644
--- a/com32/gplinclude/dmi/dmi_system.h
+++ b/com32/gplinclude/dmi/dmi_system.h
@@ -22,6 +22,8 @@
#define SYSTEM_SKU_NUMBER_SIZE 32
#define SYSTEM_FAMILY_SIZE 32
+#define SYSTEM_BOOT_STATUS_SIZE 50
+
typedef struct {
char manufacturer[SYSTEM_MANUFACTURER_SIZE];
char product_name[SYSTEM_PRODUCT_NAME_SIZE];
@@ -33,6 +35,6 @@ char sku_number[SYSTEM_SKU_NUMBER_SIZE];
char family[SYSTEM_FAMILY_SIZE];
/* The filled field have to be set to true when the dmitable implement that item */
bool filled;
+char system_boot_status[SYSTEM_BOOT_STATUS_SIZE];
} s_system;
-
#endif