summaryrefslogtreecommitdiff
path: root/CorebootPayloadPkg
diff options
context:
space:
mode:
authorScott Duplichan <scott@notabs.org>2015-04-10 02:41:49 +0000
committermauricema <mauricema@Edk2>2015-04-10 02:41:49 +0000
commit8e0fdb3aa7fdfa1dee5660392d55ac0d1469d344 (patch)
treee22a4a31dd7bbd433b754fe00909f2acb532e6ef /CorebootPayloadPkg
parent08fc181849efdc5ddc7f33e74eb0a648d2edc3fc (diff)
downloadedk2-platforms-8e0fdb3aa7fdfa1dee5660392d55ac0d1469d344.tar.xz
CorebootPayloadPkg: Avoid page table memory allocation failure
Enable use of 1GB pages to avoid page table memory allocation failure. The failure occurs when allocating enough 4KB pages to map a large virtual address space, such as the 48-bit virtual address space of AMD family 10h and family 15h processors. The change is needed only for the X64 build because page tables are not used by the IA32 build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Prince Agyeman <prince.agyeman@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17151 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CorebootPayloadPkg')
-rw-r--r--CorebootPayloadPkg/CorebootPayloadPkgX64.dsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/CorebootPayloadPkg/CorebootPayloadPkgX64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgX64.dsc
index e44994ee17..d954666a11 100644
--- a/CorebootPayloadPkg/CorebootPayloadPkgX64.dsc
+++ b/CorebootPayloadPkg/CorebootPayloadPkgX64.dsc
@@ -210,6 +210,7 @@
gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x10000
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0
+ gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
!if $(SOURCE_DEBUG_ENABLE)
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2