From 8e0fdb3aa7fdfa1dee5660392d55ac0d1469d344 Mon Sep 17 00:00:00 2001 From: Scott Duplichan Date: Fri, 10 Apr 2015 02:41:49 +0000 Subject: [PATCH] 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 Reviewed-by: Prince Agyeman git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17151 6f19259b-4bc3-4df7-8a09-765794883524 --- CorebootPayloadPkg/CorebootPayloadPkgX64.dsc | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2