summaryrefslogtreecommitdiff
path: root/src/include/cpu/intel
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-14 04:22:09 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-15 06:58:45 +0000
commit2c430c8c5b75f9d8b99c0f9358eea3470aa4f7ed (patch)
tree4c12ce4e8111f016a76f118f480d2cb9bdf79b5a /src/include/cpu/intel
parentfaf20d30a6e451d45e29613e3f4603dc72771843 (diff)
downloadcoreboot-2c430c8c5b75f9d8b99c0f9358eea3470aa4f7ed.tar.xz
intel/smm: Define struct ied_header just once
Change-Id: I6fc083aa30d05c11c1b6db7b3facacf5ae857c92 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34855 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/cpu/intel')
-rw-r--r--src/include/cpu/intel/smm_reloc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/cpu/intel/smm_reloc.h b/src/include/cpu/intel/smm_reloc.h
index 007f20d808..5213bc909e 100644
--- a/src/include/cpu/intel/smm_reloc.h
+++ b/src/include/cpu/intel/smm_reloc.h
@@ -16,6 +16,12 @@
#include <types.h>
+struct ied_header {
+ char signature[10];
+ u32 size;
+ u8 reserved[34];
+} __packed;
+
/* These helpers are for performing SMM relocation. */
u32 northbridge_get_tseg_base(void);
u32 northbridge_get_tseg_size(void);