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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user