]> git.proxmox.com Git - mirror_edk2.git/commit - CorebootModulePkg/CbSupportPei/CbSupportPei.c
CorebootPayloadPkg/CbSupportPei: Fix the memory map issue
authorMaurice Ma <maurice.ma@intel.com>
Thu, 17 Nov 2016 03:22:32 +0000 (19:22 -0800)
committerMaurice Ma <maurice.ma@intel.com>
Thu, 17 Nov 2016 22:49:11 +0000 (14:49 -0800)
commit4e7872d2f71f511df155a9048f06761afce751da
treee4e73e8597264eb7cd3aff697b86ef0d58cb928c
parent28b3a713b66998a8be3e8558eb85f18699e15b2e
CorebootPayloadPkg/CbSupportPei: Fix the memory map issue

When coreboot reports memory range across 1MB, the current code
cannot handle it properly. In this case the range should be
adjusted to start from 1MB instead since the memory resource
below 1MB has been preprocessed by CbSupportPei module.

This patch fixed the coreboot + UEFI payload hang issue when
running on QEMU due to incorrect memory map.

Cc: Prince Agyeman <prince.agyeman@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Maurice Ma <maurice.ma@intel.com>
Reviewed-by: Prince Agyeman <prince.agyeman@intel.com>
CorebootModulePkg/CbSupportPei/CbSupportPei.c