[PATCH v3 0/3] Add PayloadLoaderPeim which can load ELF payload


Ni, Ray
 

v3:
Change PLD_ to UNIVERSAL_PAYLOAD_ based on Mike's comments.

v2:
Separate the patch set from the patch that adds CLANGDWARF toolchain.
Add missing function header commments.
Change DEBUG_ERROR to DEBUG_INFO for information debug message.


Ray Ni (3):
MdeModulePkg/UniversalPayload: Add definition for extra info in
payload
UefiPayloadPkg: Add PayloadLoaderPeim which can load ELF payload
PeiCore: Remove assertion when failing to load PE image

MdeModulePkg/Core/Pei/Image/Image.c | 5 +-
.../Include/UniversalPayload/ExtraData.h | 28 +
.../UniversalPayload/UniversalPayload.h | 24 +
MdeModulePkg/MdeModulePkg.dec | 3 +
UefiPayloadPkg/PayloadLoaderPeim/ElfLib.h | 122 +++
.../PayloadLoaderPeim/ElfLib/Elf32.h | 252 +++++
.../PayloadLoaderPeim/ElfLib/Elf32Lib.c | 451 ++++++++
.../PayloadLoaderPeim/ElfLib/Elf64.h | 254 +++++
.../PayloadLoaderPeim/ElfLib/Elf64Lib.c | 460 ++++++++
.../PayloadLoaderPeim/ElfLib/ElfCommon.h | 983 ++++++++++++++++++
.../PayloadLoaderPeim/ElfLib/ElfLib.c | 473 +++++++++
.../PayloadLoaderPeim/ElfLib/ElfLibInternal.h | 109 ++
.../PayloadLoaderPeim/PayloadLoaderPeim.c | 187 ++++
.../PayloadLoaderPeim/PayloadLoaderPeim.inf | 59 ++
14 files changed, 3406 insertions(+), 4 deletions(-)
create mode 100644 MdeModulePkg/Include/UniversalPayload/ExtraData.h
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib.h
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32.h
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64.h
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64Lib.c
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfCommon.h
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfLib.c
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/ElfLib/ElfLibInternal.h
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.c
create mode 100644 UefiPayloadPkg/PayloadLoaderPeim/PayloadLoaderPeim.inf

--
2.31.1.windows.1

Join devel@edk2.groups.io to automatically receive all group messages.