summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schnelle <svens@stackframe.org>2012-07-09 08:52:53 +0200
committerSven Schnelle <svens@stackframe.org>2012-07-09 11:51:30 +0200
commit6d03876affc54ff675219ed5da2f29f962d8135c (patch)
treec1f8e453be88df09bc21ec229f8b7b554317c5e7
parent34d86f0c6178cf057a58891c1c90e48a189795af (diff)
downloadcoreboot-6d03876affc54ff675219ed5da2f29f962d8135c.tar.xz
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)
-rw-r--r--src/include/smbios.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/smbios.h b/src/include/smbios.h
index 1210f0f123..7912ba151f 100644
--- a/src/include/smbios.h
+++ b/src/include/smbios.h
@@ -188,6 +188,19 @@ struct smbios_type32 {
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,