summaryrefslogtreecommitdiff
path: root/CorebootModulePkg/CbSupportPei/CbSupportPei.h
diff options
context:
space:
mode:
authorgdong1 <guo.dong@intel.com>2016-10-26 16:48:40 -0700
committerMaurice Ma <maurice.ma@intel.com>2016-10-26 17:11:54 -0700
commit2d90b74d027b457615c0739ac9114a976be9eaed (patch)
tree329c5e2ede4a6bd69c83218932c8f3492ccf727a /CorebootModulePkg/CbSupportPei/CbSupportPei.h
parentc46bf81d2d966d51b07f7bf16c202f8fc1c4d50b (diff)
downloadedk2-platforms-2d90b74d027b457615c0739ac9114a976be9eaed.tar.xz
CorebootModulePkg: Fix memmap issue
Some reserved memory (e.g. CSE reserved memory) might be in the middle of usable physical memory. The current memory map caculation could not handle this case. This patch fixed this issue. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: gdong1 <guo.dong@intel.com> Reviewed-by: Maurice Ma <maurice.ma@intel.com>
Diffstat (limited to 'CorebootModulePkg/CbSupportPei/CbSupportPei.h')
-rw-r--r--CorebootModulePkg/CbSupportPei/CbSupportPei.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/CorebootModulePkg/CbSupportPei/CbSupportPei.h b/CorebootModulePkg/CbSupportPei/CbSupportPei.h
index f897dc4ac5..ed5cdb4ab0 100644
--- a/CorebootModulePkg/CbSupportPei/CbSupportPei.h
+++ b/CorebootModulePkg/CbSupportPei/CbSupportPei.h
@@ -38,5 +38,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Guid/AcpiBoardInfoGuid.h>
#include <Ppi/MasterBootMode.h>
+#include "Coreboot.h"
+
+typedef struct {
+ UINT32 UsableLowMemTop;
+ UINT32 SystemLowMemTop;
+} CB_MEM_INFO;
#endif