SMBIOS: Add Type 38 (IPMI) data structure
Change-Id: I9b9a1c7b1cc4aaba7a4791f898653b6fe41d4fcb
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/1192
Reviewed-by: Peter Stuge <peter@stuge.se>
Tested-by: build bot (Jenkins)
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 1210f0f..7912ba1 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -188,6 +188,19 @@
u8 eos[2];
} __attribute__((packed));
+struct smbios_type38 {
+ u8 type;
+ u8 length;
+ u16 handle;
+ u8 interface_type;
+ u8 ipmi_rev;
+ u8 i2c_slave_addr;
+ u8 nv_storage_addr;
+ u64 base_address;
+ u8 base_address_modifier;
+ u8 irq;
+} __attribute__((packed));
+
typedef enum {
SMBIOS_DEVICE_TYPE_OTHER = 0x01,
SMBIOS_DEVICE_TYPE_UNKNOWN,