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

5c789a
From 61914fb81cf624c9028d015533b400b2794e52d3 Mon Sep 17 00:00:00 2001
c54fd1
From: Laszlo Ersek <lersek@redhat.com>
c54fd1
Date: Wed, 14 Oct 2015 15:59:06 +0200
c54fd1
Subject: OvmfPkg: take PcdResizeXterm from the QEMU command line (RH only)
c54fd1
c54fd1
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
c54fd1
c54fd1
- no changes
c54fd1
c54fd1
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
c54fd1
c54fd1
- refresh downstream-only commit 8abc2a6ddad2 against context differences
c54fd1
  in the DSC files from upstream commit 5e167d7e784c
c54fd1
  ("OvmfPkg/PlatformPei: don't allocate reserved mem varstore if
c54fd1
  SMM_REQUIRE", 2017-03-12).
c54fd1
5c789a
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
5c789a
5c789a
- no change
5c789a
c54fd1
Contributed-under: TianoCore Contribution Agreement 1.0
c54fd1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
c54fd1
(cherry picked from commit 6fa0c4d67c0bb8bde2ddd6db41c19eb0c40b2721)
c54fd1
(cherry picked from commit 8abc2a6ddad25af7e88dc0cf57d55dfb75fbf92d)
5c789a
(cherry picked from commit b311932d3841c017a0f0fec553edcac365cc2038)
c54fd1
---
c54fd1
 OvmfPkg/OvmfPkgIa32.dsc             | 1 +
c54fd1
 OvmfPkg/OvmfPkgIa32X64.dsc          | 1 +
c54fd1
 OvmfPkg/OvmfPkgX64.dsc              | 1 +
c54fd1
 OvmfPkg/PlatformPei/Platform.c      | 1 +
c54fd1
 OvmfPkg/PlatformPei/PlatformPei.inf | 1 +
c54fd1
 5 files changed, 5 insertions(+)
c54fd1
c54fd1
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
5c789a
index a5bb2b0..b577767 100644
c54fd1
--- a/OvmfPkg/OvmfPkgIa32.dsc
c54fd1
+++ b/OvmfPkg/OvmfPkgIa32.dsc
5c789a
@@ -530,6 +530,7 @@
c54fd1
   #   ($(SMM_REQUIRE) == FALSE)
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
c54fd1
 
c54fd1
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
c54fd1
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
5c789a
index be8fee9..a6a40be 100644
c54fd1
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
c54fd1
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
5c789a
@@ -536,6 +536,7 @@
c54fd1
   #   ($(SMM_REQUIRE) == FALSE)
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
c54fd1
 
c54fd1
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
c54fd1
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
5c789a
index e224b0e..8bd3754 100644
c54fd1
--- a/OvmfPkg/OvmfPkgX64.dsc
c54fd1
+++ b/OvmfPkg/OvmfPkgX64.dsc
5c789a
@@ -535,6 +535,7 @@
c54fd1
   #   ($(SMM_REQUIRE) == FALSE)
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
c54fd1
 
c54fd1
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
c54fd1
diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c
c54fd1
index 5a78668..544ac54 100644
c54fd1
--- a/OvmfPkg/PlatformPei/Platform.c
c54fd1
+++ b/OvmfPkg/PlatformPei/Platform.c
c54fd1
@@ -670,6 +670,7 @@ InitializePlatform (
c54fd1
     PeiFvInitialization ();
c54fd1
     MemMapInitialization ();
c54fd1
     NoexecDxeInitialization ();
c54fd1
+    UPDATE_BOOLEAN_PCD_FROM_FW_CFG (PcdResizeXterm);
c54fd1
   }
c54fd1
 
c54fd1
   AmdSevInitialize ();
c54fd1
diff --git a/OvmfPkg/PlatformPei/PlatformPei.inf b/OvmfPkg/PlatformPei/PlatformPei.inf
5c789a
index 30ceb4b..016c067 100644
c54fd1
--- a/OvmfPkg/PlatformPei/PlatformPei.inf
c54fd1
+++ b/OvmfPkg/PlatformPei/PlatformPei.inf
5c789a
@@ -94,6 +94,7 @@
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
c54fd1
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
c54fd1
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack
c54fd1
-- 
c54fd1
1.8.3.1
c54fd1