render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

Blame 0009-OvmfPkg-take-PcdResizeXterm-from-the-QEMU-command-li.patch

9fc821
From 30251344cfbd25212394c377b80cd720a3b85d46 Mon Sep 17 00:00:00 2001
9fc821
Message-Id: <30251344cfbd25212394c377b80cd720a3b85d46.1534970217.git.crobinso@redhat.com>
9fc821
In-Reply-To: <37942481c89eca732239c23fe606680e6e3faf77.1534970217.git.crobinso@redhat.com>
9fc821
References: <37942481c89eca732239c23fe606680e6e3faf77.1534970217.git.crobinso@redhat.com>
Paolo Bonzini 348500
From: Laszlo Ersek <lersek@redhat.com>
Paolo Bonzini 348500
Date: Wed, 14 Oct 2015 15:59:06 +0200
9fc821
Subject: [PATCH 09/17] OvmfPkg: take PcdResizeXterm from the QEMU command line
Paolo Bonzini 7ae6f1
 (RH only)
Paolo Bonzini 348500
Paolo Bonzini 348500
Notes about the 20160608b-988715a -> 20170228-c325e41585e3 rebase:
Paolo Bonzini 348500
Paolo Bonzini 348500
- no changes
Paolo Bonzini 348500
Paolo Bonzini 348500
Notes about the 20170228-c325e41585e3 -> 20171011-92d07e48907f rebase:
Paolo Bonzini 348500
Paolo Bonzini 348500
- refresh downstream-only commit 8abc2a6ddad2 against context differences
Paolo Bonzini 348500
  in the DSC files from upstream commit 5e167d7e784c
Paolo Bonzini 348500
  ("OvmfPkg/PlatformPei: don't allocate reserved mem varstore if
Paolo Bonzini 348500
  SMM_REQUIRE", 2017-03-12).
Paolo Bonzini 348500
Paolo Bonzini 348500
Contributed-under: TianoCore Contribution Agreement 1.0
Paolo Bonzini 348500
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Paolo Bonzini 348500
(cherry picked from commit 6fa0c4d67c0bb8bde2ddd6db41c19eb0c40b2721)
Paolo Bonzini 348500
(cherry picked from commit 8abc2a6ddad25af7e88dc0cf57d55dfb75fbf92d)
Paolo Bonzini 7ae6f1
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
9fc821
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Paolo Bonzini 348500
---
Paolo Bonzini 348500
 OvmfPkg/OvmfPkgIa32.dsc             | 1 +
Paolo Bonzini 348500
 OvmfPkg/OvmfPkgIa32X64.dsc          | 1 +
Paolo Bonzini 348500
 OvmfPkg/OvmfPkgX64.dsc              | 1 +
Paolo Bonzini 348500
 OvmfPkg/PlatformPei/Platform.c      | 1 +
Paolo Bonzini 348500
 OvmfPkg/PlatformPei/PlatformPei.inf | 1 +
Paolo Bonzini 348500
 5 files changed, 5 insertions(+)
Paolo Bonzini 348500
Paolo Bonzini 348500
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
9fc821
index 0a49336c0d..8dc3ad2be4 100644
Paolo Bonzini 348500
--- a/OvmfPkg/OvmfPkgIa32.dsc
Paolo Bonzini 348500
+++ b/OvmfPkg/OvmfPkgIa32.dsc
9fc821
@@ -535,6 +535,7 @@
Paolo Bonzini 348500
   #   ($(SMM_REQUIRE) == FALSE)
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
Paolo Bonzini 348500
 
Paolo Bonzini 348500
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Paolo Bonzini 348500
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
9fc821
index a3d51ef0f7..d81cd865d5 100644
Paolo Bonzini 348500
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
Paolo Bonzini 348500
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
9fc821
@@ -541,6 +541,7 @@
Paolo Bonzini 348500
   #   ($(SMM_REQUIRE) == FALSE)
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
Paolo Bonzini 348500
 
Paolo Bonzini 348500
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Paolo Bonzini 348500
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
9fc821
index f9b4ab4dfa..85bd8d4bf6 100644
Paolo Bonzini 348500
--- a/OvmfPkg/OvmfPkgX64.dsc
Paolo Bonzini 348500
+++ b/OvmfPkg/OvmfPkgX64.dsc
9fc821
@@ -540,6 +540,7 @@
Paolo Bonzini 348500
   #   ($(SMM_REQUIRE) == FALSE)
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0
Paolo Bonzini 348500
 
Paolo Bonzini 348500
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase|0
Paolo Bonzini 348500
diff --git a/OvmfPkg/PlatformPei/Platform.c b/OvmfPkg/PlatformPei/Platform.c
9fc821
index 5a78668126..544ac547bf 100644
Paolo Bonzini 348500
--- a/OvmfPkg/PlatformPei/Platform.c
Paolo Bonzini 348500
+++ b/OvmfPkg/PlatformPei/Platform.c
Paolo Bonzini 348500
@@ -670,6 +670,7 @@ InitializePlatform (
Paolo Bonzini 348500
     PeiFvInitialization ();
Paolo Bonzini 348500
     MemMapInitialization ();
Paolo Bonzini 348500
     NoexecDxeInitialization ();
Paolo Bonzini 348500
+    UPDATE_BOOLEAN_PCD_FROM_FW_CFG (PcdResizeXterm);
Paolo Bonzini 348500
   }
Paolo Bonzini 348500
 
Paolo Bonzini 348500
   AmdSevInitialize ();
Paolo Bonzini 348500
diff --git a/OvmfPkg/PlatformPei/PlatformPei.inf b/OvmfPkg/PlatformPei/PlatformPei.inf
9fc821
index 9c5ad9961c..31baaa0a22 100644
Paolo Bonzini 348500
--- a/OvmfPkg/PlatformPei/PlatformPei.inf
Paolo Bonzini 348500
+++ b/OvmfPkg/PlatformPei/PlatformPei.inf
Paolo Bonzini 7ae6f1
@@ -94,6 +94,7 @@
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdPciDisableBusEnumeration
Paolo Bonzini 348500
+  gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
Paolo Bonzini 348500
   gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack
Paolo Bonzini 348500
-- 
9fc821
2.17.1
Paolo Bonzini 348500