render / rpms / edk2

Forked from rpms/edk2 2 months ago
Clone

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

63d87e
From 2cc462ee963d0be119bc97bfc9c70d292a40516f Mon Sep 17 00:00:00 2001
cc9195
From: Laszlo Ersek <lersek@redhat.com>
cc9195
Date: Wed, 14 Oct 2015 15:59:06 +0200
cc9195
Subject: OvmfPkg: take PcdResizeXterm from the QEMU command line (RH only)
cc9195
63d87e
Notes about the RHEL-8.1/20190308-89910a39dcfd [edk2-stable201903] ->
63d87e
RHEL-8.2/20190904-37eef91017ad [edk2-stable201908] rebase:
63d87e
63d87e
- no change
63d87e
fcd20d
Notes about the RHEL-8.0/20180508-ee3198e672e2 ->
fcd20d
RHEL-8.1/20190308-89910a39dcfd rebase:
fcd20d
fcd20d
- no change
fcd20d
cc9195
Notes about the RHEL-7.6/ovmf-20180508-2.gitee3198e672e2.el7 ->
cc9195
RHEL-8.0/20180508-ee3198e672e2 rebase:
cc9195
cc9195
- reorder the rebase changelog in the commit message so that it reads like
cc9195
  a blog: place more recent entries near the top
cc9195
- no changes to the patch body
cc9195
cc9195
Notes about the 20171011-92d07e48907f -> 20180508-ee3198e672e2 rebase:
cc9195
cc9195
- no change
cc9195
cc9195
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
cc9195
cc9195
- refresh downstream-only commit 8abc2a6ddad2 against context differences
cc9195
  in the DSC files from upstream commit 5e167d7e784c
cc9195
  ("OvmfPkg/PlatformPei: don't allocate reserved mem varstore if
cc9195
  SMM_REQUIRE", 2017-03-12).
cc9195
cc9195
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
cc9195
cc9195
- no changes
cc9195
cc9195
Contributed-under: TianoCore Contribution Agreement 1.0
cc9195
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
cc9195
(cherry picked from commit 6fa0c4d67c0bb8bde2ddd6db41c19eb0c40b2721)
cc9195
(cherry picked from commit 8abc2a6ddad25af7e88dc0cf57d55dfb75fbf92d)
cc9195
(cherry picked from commit b311932d3841c017a0f0fec553edcac365cc2038)
cc9195
(cherry picked from commit 61914fb81cf624c9028d015533b400b2794e52d3)
fcd20d
(cherry picked from commit 2ebf3cc2ae99275d63bb6efd3c22dec76251a853)
63d87e
(cherry picked from commit f9b73437b9b231773c1a20e0c516168817a930a2)
cc9195
---
cc9195
 OvmfPkg/OvmfPkgIa32.dsc             | 1 +
cc9195
 OvmfPkg/OvmfPkgIa32X64.dsc          | 1 +
cc9195
 OvmfPkg/OvmfPkgX64.dsc              | 1 +
cc9195
 OvmfPkg/PlatformPei/Platform.c      | 1 +
cc9195
 OvmfPkg/PlatformPei/PlatformPei.inf | 1 +
cc9195
 5 files changed, 5 insertions(+)
cc9195
cc9195
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
63d87e
index 044379e1ed..accf5c0211 100644
cc9195
--- a/OvmfPkg/OvmfPkgIa32.dsc
cc9195
+++ b/OvmfPkg/OvmfPkgIa32.dsc
63d87e
@@ -525,6 +525,7 @@
cc9195
   #   ($(SMM_REQUIRE) == FALSE)
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
cc9195
 
cc9195
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
cc9195
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
63d87e
index 2ff68102d3..8812da9943 100644
cc9195
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
cc9195
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
63d87e
@@ -531,6 +531,7 @@
cc9195
   #   ($(SMM_REQUIRE) == FALSE)
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
cc9195
 
cc9195
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
cc9195
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
63d87e
index 3a66d4d424..73e1b7824f 100644
cc9195
--- a/OvmfPkg/OvmfPkgX64.dsc
cc9195
+++ b/OvmfPkg/OvmfPkgX64.dsc
63d87e
@@ -530,6 +530,7 @@
cc9195
   #   ($(SMM_REQUIRE) == FALSE)
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
cc9195
 
cc9195
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
cc9195
diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c
63d87e
index 3ba2459872..bbbf1ac2a8 100644
cc9195
--- a/OvmfPkg/PlatformPei/Platform.c
cc9195
+++ b/OvmfPkg/PlatformPei/Platform.c
63d87e
@@ -667,6 +667,7 @@ InitializePlatform (
cc9195
     PeiFvInitialization ();
cc9195
     MemMapInitialization ();
cc9195
     NoexecDxeInitialization ();
cc9195
+    UPDATE_BOOLEAN_PCD_FROM_FW_CFG (PcdResizeXterm);
cc9195
   }
cc9195
 
fcd20d
   InstallClearCacheCallback ();
cc9195
diff --git a/OvmfPkg/PlatformPei/PlatformPei.inf b/OvmfPkg/PlatformPei/PlatformPei.inf
63d87e
index d9fd9c8f05..666803916c 100644
cc9195
--- a/OvmfPkg/PlatformPei/PlatformPei.inf
cc9195
+++ b/OvmfPkg/PlatformPei/PlatformPei.inf
63d87e
@@ -89,6 +89,7 @@
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
cc9195
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
cc9195
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack
cc9195
-- 
fcd20d
2.18.1
cc9195