MdeModulePkg/DxeIpl: Merge EBC, RISCV64 and LOONGARCH code

The Risc-V and LoongArch specific versions of the DXE core handoff code
in DxeIpl are essentially copies of the EBC version (modulo the
copyright in the header and some debug prints in the code).

In preparation for introducing a generic PPI based method to implement
the non-executable stack, let's merge these versions, so we only need to
add this logic once.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Ard Biesheuvel
2023-06-02 17:17:34 +02:00
committed by mergify[bot]
parent 9eb8f2c99f
commit dfacaab57e
4 changed files with 3 additions and 147 deletions

View File

@@ -45,17 +45,11 @@
X64/VirtualMemory.c
X64/DxeLoadFunc.c
[Sources.EBC]
Ebc/DxeLoadFunc.c
[Sources.ARM, Sources.AARCH64]
Arm/DxeLoadFunc.c
[Sources.RISCV64]
RiscV64/DxeLoadFunc.c
[Sources.LOONGARCH64]
LoongArch64/DxeLoadFunc.c
[Sources.LOONGARCH64,Sources.RISCV64,Sources.EBC]
DxeHandoff.c
[Packages]
MdePkg/MdePkg.dec