summaryrefslogtreecommitdiff
path: root/CorebootModulePkg/Include
diff options
context:
space:
mode:
Diffstat (limited to 'CorebootModulePkg/Include')
-rw-r--r--CorebootModulePkg/Include/Coreboot.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/CorebootModulePkg/Include/Coreboot.h b/CorebootModulePkg/Include/Coreboot.h
index 703c034ca9..f2f18be2cc 100644
--- a/CorebootModulePkg/Include/Coreboot.h
+++ b/CorebootModulePkg/Include/Coreboot.h
@@ -1,7 +1,7 @@
/** @file
Coreboot PEI module include file.
- Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -51,6 +51,9 @@
#define DYN_CBMEM_ALIGN_SIZE (4096)
+#define IMD_ENTRY_MAGIC (~0xC0389481)
+#define CBMEM_ENTRY_MAGIC (~0xC0389479)
+
struct cbmem_entry {
UINT32 magic;
UINT32 start;
@@ -66,6 +69,22 @@ struct cbmem_root {
struct cbmem_entry entries[0];
};
+struct imd_entry {
+ UINT32 magic;
+ UINT32 start_offset;
+ UINT32 size;
+ UINT32 id;
+};
+
+struct imd_root {
+ UINT32 max_entries;
+ UINT32 num_entries;
+ UINT32 flags;
+ UINT32 entry_align;
+ UINT32 max_offset;
+ struct imd_entry entries[0];
+};
+
struct cbuint64 {
UINT32 lo;
UINT32 hi;