提交 557671b6 编写于 作者: M Mike Beaton

OpenDuet: Resolve issue starting OS since new secure PE/COFF loader integration

Prior to this change, but since PE/COFF loader integration, RuntimeDxe
(which includes runtime relocation support) was built with UE support
only (because the previous - now revised - default for non-FV in MdePkg
was UE only, and this file overrides the default for FV to UE only)
however DxeCore was built to load PE and UE, so PE drivers with runtime
support (e.g. OpenRuntime.efi) would load but then ASSERT at runtime
relocation time (if asserts were enabled; otherwise failing later, on
OS callback to the runtime).

In this revised version (also taking into account the matched update to
AUDK, which changes FV and non-FV defaults to be PE-only) OpenDuetPkg
whole-platform support is now set to UE-only in FV and PE-only in non-FV
(therefore RuntimeDxe is aware that both formats may be seen at relocation
time).

PcdUefiImageFormatSupport[Non]Fv values should be (and in this update
are) defined globally for the entire platform, not per-module.
Signed-off-by: NMike Beaton <mjsbeaton@gmail.com>
Signed-off-by: NMarvin Häuser <mhaeuser@posteo.de>
上级 8dae8cf4
......@@ -146,8 +146,6 @@
DxeServicesTableLib|MdeModulePkg/Library/DxeCoreDxeServicesTableLib/DxeCoreDxeServicesTableLib.inf
UefiBootServicesTableLib|MdeModulePkg/Library/DxeCoreUefiBootServicesTableLib/DxeCoreUefiBootServicesTableLib.inf
UefiRuntimeServicesTableLib|MdeModulePkg/Library/DxeCoreUefiRuntimeServicesTableLib/DxeCoreUefiRuntimeServicesTableLib.inf
<PcdsFixedAtBuild>
gEfiMdePkgTokenSpaceGuid.PcdUefiImageFormatSupportFv|0x03
}
MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册