aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/include/gpxe/smbios.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/include/gpxe/smbios.h')
-rw-r--r--gpxe/src/include/gpxe/smbios.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/gpxe/src/include/gpxe/smbios.h b/gpxe/src/include/gpxe/smbios.h
index 2b0fcbd1..4df25c3e 100644
--- a/gpxe/src/include/gpxe/smbios.h
+++ b/gpxe/src/include/gpxe/smbios.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <stdint.h>
#include <gpxe/api.h>
#include <config/general.h>
@@ -113,6 +115,25 @@ struct smbios_system_information {
/** SMBIOS system information structure type */
#define SMBIOS_TYPE_SYSTEM_INFORMATION 1
+/** SMBIOS enclosure information structure */
+struct smbios_enclosure_information {
+ /** SMBIOS structure header */
+ struct smbios_header header;
+ /** Manufacturer string */
+ uint8_t manufacturer;
+ /** Type string */
+ uint8_t type;
+ /** Version string */
+ uint8_t version;
+ /** Serial number string */
+ uint8_t serial;
+ /** Asset tag */
+ uint8_t asset_tag;
+} __attribute__ (( packed ));
+
+/** SMBIOS enclosure information structure type */
+#define SMBIOS_TYPE_ENCLOSURE_INFORMATION 3
+
/**
* SMBIOS entry point descriptor
*