You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
From db07792f9eb095a1f7570b23b1e9dad6edca17a5 Mon Sep 17 00:00:00 2001
|
|
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
Date: Wed, 17 May 2023 12:24:49 +0200
|
|
Subject: [PATCH 12/12] OvmfPkg/MicrovmX64: enable 1G pages
|
|
|
|
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
|
|
RH-MergeRequest: 40: enable use of gigabyte pages
|
|
RH-Jira: RHEL-644
|
|
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
RH-Commit: [3/3] 369373082e4dd0be9a4f257e5be9c827cc7de3c5 (kraxel/centos-edk2)
|
|
|
|
Reduces the memory footprint and speeds up booting.
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
Acked-by: Ard Biesheuvel <ardb@kernel.org>
|
|
(cherry picked from commit 04c5b3023e49c35d291f41d2c39b4d12a62b8f9c)
|
|
---
|
|
OvmfPkg/Microvm/MicrovmX64.dsc | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc b/OvmfPkg/Microvm/MicrovmX64.dsc
|
|
index 49d1d7ef5c..cc8e3abc45 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
|
|
#
|
|
--
|
|
2.39.3
|
|
|