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

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