[edk2-devel] [PATCH 2/3] MdeModulePkg: Set PcdDxeIplSwitchToLongMode false on non-x86

Schaefer, Daniel Helmut (DualStudy) posted 3 patches 4 years, 9 months ago
There is a newer version of this series
[edk2-devel] [PATCH 2/3] MdeModulePkg: Set PcdDxeIplSwitchToLongMode false on non-x86
Posted by Schaefer, Daniel Helmut (DualStudy) 4 years, 9 months ago
Otherwise the PCD isn't defined on other architectures.

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2548

Signed-off-by: Daniel Schaefer <daniel.schaefer@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
---
 MdeModulePkg/MdeModulePkg.dec | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index 91a3c608231c..59645c860148 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -879,6 +879,9 @@ [PcdsFeatureFlag]
 [PcdsFeatureFlag.IA32, PcdsFeatureFlag.ARM, PcdsFeatureFlag.AARCH64]

   gEfiMdeModulePkgTokenSpaceGuid.PcdPciDegradeResourceForOptionRom|FALSE|BOOLEAN|0x0001003a

 

+[PcdsFeatureFlag.EBC, PcdsFeatureFlag.ARM, PcdsFeatureFlag.AARCH64]

+  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|FALSE|BOOLEAN|0x0001003b

+

 [PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]

   ## Indicates if DxeIpl should switch to long mode to enter DXE phase.

   #  It is assumed that 64-bit DxeCore is built in firmware if it is true; otherwise 32-bit DxeCore

-- 
2.25.0


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#54729): https://edk2.groups.io/g/devel/message/54729
Mute This Topic: https://groups.io/mt/71474813/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-