Implement PeRelocateImage() routine
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
2022-11-15 23:31:35 +01:00
parent 131275e788
commit 9f43ad06af
3 changed files with 66 additions and 7 deletions

View File

@@ -24,7 +24,11 @@ PeLoadImage(IN PEFI_FILE_HANDLE FileHandle,
OUT PPECOFF_IMAGE_CONTEXT *Image);
EFI_STATUS
PepRelocateImage(IN PPECOFF_IMAGE_CONTEXT Image);
PeRelocateImage(IN PPECOFF_IMAGE_CONTEXT Image,
IN EFI_VIRTUAL_ADDRESS Address);
EFI_STATUS
PepRelocateLoadedImage(IN PPECOFF_IMAGE_CONTEXT Image);
EFI_STATUS
PepValidateImageHeaders(IN PPECOFF_IMAGE_DOS_HEADER DosHeader,