aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-05-26 21:03:16 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-05-26 21:03:16 -0700
commitad1235725d17522fb10d34052fe7e118ab43b7fa (patch)
tree10caf925b236c4db6102d7cc047b8cba2dbab322 /com32/gplinclude
parenta98e2b4b62967ef972b6817d5a8a1ac064fcfb51 (diff)
downloadsyslinux-ad1235725d17522fb10d34052fe7e118ab43b7fa.tar.gz
syslinux-ad1235725d17522fb10d34052fe7e118ab43b7fa.tar.xz
syslinux-ad1235725d17522fb10d34052fe7e118ab43b7fa.zip
gpllib: Add support for 3.3.24 System Reset (Type 23) (dmi)
From SMBIOS spec (v2.6.1): This structure describes whether Automatic System Reset functions enabled (Status). If the system has a watchdog Timer and the timer is not reset (Timer Reset) before the Interval elapses, an automatic system reset will occur. The system will re-boot according to the Boot Option. This function may repeat until the Limit is reached, at which time the system will re-boot according to the Boot Option at Limit. Note: This structure type was added for specification v2.2. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude')
-rw-r--r--com32/gplinclude/dmi/dmi_system.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/com32/gplinclude/dmi/dmi_system.h b/com32/gplinclude/dmi/dmi_system.h
index 896c1e54..218fa4f9 100644
--- a/com32/gplinclude/dmi/dmi_system.h
+++ b/com32/gplinclude/dmi/dmi_system.h
@@ -38,5 +38,16 @@ char family[SYSTEM_FAMILY_SIZE];
bool filled;
char system_boot_status[SYSTEM_BOOT_STATUS_SIZE];
char configuration_options[SYSTEM_CONFIGURATION_OPTIONS_SIZE];
+struct {
+ bool filled;
+ uint8_t status;
+ uint8_t watchdog;
+ char boot_option[17];
+ char boot_option_on_limit[17];
+ char reset_count[8];
+ char reset_limit[8];
+ char timer_interval[8];
+ char timeout[8];
+} system_reset;
} s_system;
#endif