OvmfPkg/OvmfPkgIa32X64: enable 1G pages

Reduces the memory footprint and speeds up booting.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Gerd Hoffmann 2023-05-17 12:24:48 +02:00 committed by mergify[bot]
parent d4d24001f7
commit b63e17d746
1 changed files with 3 additions and 0 deletions

View File

@ -557,6 +557,9 @@
# never lets the RAM below 4 GB exceed 2816 MB.
gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress|0xE0000000
# use 1G pages
gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
!if $(SOURCE_DEBUG_ENABLE) == TRUE
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x2
!endif