aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/smbios/smbios.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/smbios/smbios.h')
-rw-r--r--src/kernel/smbios/smbios.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/kernel/smbios/smbios.h b/src/kernel/smbios/smbios.h
index 384119c..4814a17 100644
--- a/src/kernel/smbios/smbios.h
+++ b/src/kernel/smbios/smbios.h
@@ -7,6 +7,23 @@ struct smbios_header {
uint16_t handle;
};
+struct smbios_entry {
+ int8_t signature[4];
+ uint8_t checksum;
+ uint8_t length;
+ uint8_t major_version;
+ uint8_t minor_version;
+ uint8_t max_structure_size;
+ int8_t entry_point_revision;
+ int8_t formatted_area[5];
+ int8_t entry_point_signature[5];
+ uint8_t checksum2;
+ uint16_t table_length;
+ uint32_t table_address;
+ uint16_t number_of_structures;
+ uint8_t bcd_revision;
+};
+
struct smbios_0 {
char *vendor;
char *bios_version;