summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-05-17 12:24:49 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-05-29 11:19:51 +0000
commit04c5b3023e49c35d291f41d2c39b4d12a62b8f9c (patch)
tree82ae31c321ff4358b5ddc22272771e25d183c541
parentb63e17d746aa6bab2b1101711395725005e71a02 (diff)
downloadedk2-04c5b3023e49c35d291f41d2c39b4d12a62b8f9c.tar.gz
edk2-04c5b3023e49c35d291f41d2c39b4d12a62b8f9c.tar.bz2
edk2-04c5b3023e49c35d291f41d2c39b4d12a62b8f9c.zip
OvmfPkg/MicrovmX64: 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>
-rw-r--r--OvmfPkg/Microvm/MicrovmX64.dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc b/OvmfPkg/Microvm/MicrovmX64.dsc
index 5f671bc384..46f951ae05 100644
--- a/OvmfPkg/Microvm/MicrovmX64.dsc
+++ b/OvmfPkg/Microvm/MicrovmX64.dsc
@@ -544,6 +544,9 @@
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0x100
gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0x100
+ # use 1G pages
+ gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE
+
#
# Network Pcds
#