Blame SOURCES/0014-OvmfPkg-take-PcdResizeXterm-from-the-QEMU-command-li.patch

3e2dc0
From 51e0de961029af84b5bdbfddcc9762b1819d500f Mon Sep 17 00:00:00 2001
6009e6
From: Laszlo Ersek <lersek@redhat.com>
6009e6
Date: Wed, 14 Oct 2015 15:59:06 +0200
6009e6
Subject: OvmfPkg: take PcdResizeXterm from the QEMU command line (RH only)
6009e6
3e2dc0
Notes about the RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] ->
3e2dc0
RHEL-8.3/20200603-ca407c7246bf [edk2-stable202005] rebase:
3e2dc0
3e2dc0
- Resolve contextual conflict in the DSC files, from upstream commit
3e2dc0
  b0ed7ebdebd1 ("OvmfPkg: set fixed FlashNvStorage base addresses with -D
3e2dc0
  SMM_REQUIRE", 2020-03-12).
3e2dc0
6009e6
Notes about the RHEL-8.1/20190308-89910a39dcfd [edk2-stable201903] ->
6009e6
RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] rebase:
6009e6
6009e6
- no change
6009e6
6009e6
Notes about the RHEL-8.0/20180508-ee3198e672e2 ->
6009e6
RHEL-8.1/20190308-89910a39dcfd rebase:
6009e6
6009e6
- no change
6009e6
6009e6
Notes about the RHEL-7.6/ovmf-20180508-2.gitee3198e672e2.el7 ->
6009e6
RHEL-8.0/20180508-ee3198e672e2 rebase:
6009e6
6009e6
- reorder the rebase changelog in the commit message so that it reads like
6009e6
  a blog: place more recent entries near the top
6009e6
- no changes to the patch body
6009e6
6009e6
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
6009e6
6009e6
- no change
6009e6
6009e6
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
6009e6
6009e6
- refresh downstream-only commit 8abc2a6ddad2 against context differences
6009e6
  in the DSC files from upstream commit 5e167d7e784c
6009e6
  ("OvmfPkg/PlatformPei: don't allocate reserved mem varstore if
6009e6
  SMM_REQUIRE", 2017-03-12).
6009e6
6009e6
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
6009e6
6009e6
- no changes
6009e6
6009e6
Contributed-under: TianoCore Contribution Agreement 1.0
6009e6
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
6009e6
(cherry picked from commit 6fa0c4d67c0bb8bde2ddd6db41c19eb0c40b2721)
6009e6
(cherry picked from commit 8abc2a6ddad25af7e88dc0cf57d55dfb75fbf92d)
6009e6
(cherry picked from commit b311932d3841c017a0f0fec553edcac365cc2038)
6009e6
(cherry picked from commit 61914fb81cf624c9028d015533b400b2794e52d3)
6009e6
(cherry picked from commit 2ebf3cc2ae99275d63bb6efd3c22dec76251a853)
6009e6
(cherry picked from commit f9b73437b9b231773c1a20e0c516168817a930a2)
3e2dc0
(cherry picked from commit 2cc462ee963d0be119bc97bfc9c70d292a40516f)
6009e6
---
6009e6
 OvmfPkg/OvmfPkgIa32.dsc             | 1 +
6009e6
 OvmfPkg/OvmfPkgIa32X64.dsc          | 1 +
6009e6
 OvmfPkg/OvmfPkgX64.dsc              | 1 +
6009e6
 OvmfPkg/PlatformPei/Platform.c      | 1 +
6009e6
 OvmfPkg/PlatformPei/PlatformPei.inf | 1 +
6009e6
 5 files changed, 5 insertions(+)
6009e6
6009e6
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
3e2dc0
index f8317a4f5d..6ce8a46d4e 100644
6009e6
--- a/OvmfPkg/OvmfPkgIa32.dsc
6009e6
+++ b/OvmfPkg/OvmfPkgIa32.dsc
3e2dc0
@@ -574,6 +574,7 @@
6009e6
   #   ($(SMM_REQUIRE) == FALSE)
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
6009e6
 
6009e6
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
3e2dc0
 !if $(SMM_REQUIRE) == FALSE
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
6009e6
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
3e2dc0
index 55423d356c..89d414cda7 100644
6009e6
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
6009e6
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
3e2dc0
@@ -580,6 +580,7 @@
6009e6
   #   ($(SMM_REQUIRE) == FALSE)
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
6009e6
 
6009e6
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
3e2dc0
 !if $(SMM_REQUIRE) == FALSE
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
6009e6
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
3e2dc0
index 17aeeed96e..e567eb76e0 100644
6009e6
--- a/OvmfPkg/OvmfPkgX64.dsc
6009e6
+++ b/OvmfPkg/OvmfPkgX64.dsc
3e2dc0
@@ -578,6 +578,7 @@
6009e6
   #   ($(SMM_REQUIRE) == FALSE)
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
6009e6
 
6009e6
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
3e2dc0
 !if $(SMM_REQUIRE) == FALSE
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
6009e6
diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c
3e2dc0
index 96468701e3..14efbabe39 100644
6009e6
--- a/OvmfPkg/PlatformPei/Platform.c
6009e6
+++ b/OvmfPkg/PlatformPei/Platform.c
3e2dc0
@@ -748,6 +748,7 @@ InitializePlatform (
3e2dc0
     MemTypeInfoInitialization ();
6009e6
     MemMapInitialization ();
6009e6
     NoexecDxeInitialization ();
6009e6
+    UPDATE_BOOLEAN_PCD_FROM_FW_CFG (PcdResizeXterm);
6009e6
   }
6009e6
 
6009e6
   InstallClearCacheCallback ();
6009e6
diff --git a/OvmfPkg/PlatformPei/PlatformPei.inf b/OvmfPkg/PlatformPei/PlatformPei.inf
3e2dc0
index ff397b3ee9..3a012a7fa4 100644
6009e6
--- a/OvmfPkg/PlatformPei/PlatformPei.inf
6009e6
+++ b/OvmfPkg/PlatformPei/PlatformPei.inf
3e2dc0
@@ -93,6 +93,7 @@
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
6009e6
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
6009e6
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack
6009e6
-- 
6009e6
2.18.1
6009e6