Skip to content

Commit b402e99

Browse files
authored
Update Boot.c
Fix image handler
1 parent 0ab3e7c commit b402e99

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

efi/edk2/elfhvPkg/Boot/Boot.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ LoadAndStartImage(EFI_HANDLE ImageHandle, EFI_HANDLE* OutHandle, CONST CHAR16* P
240240
return Status;
241241
}
242242

243+
// change the path of the IMAGE_BASE to the hander exit module
244+
// use DeviceHandle to another path as the boot manager will not send
243245
DevicePath = FileDevicePath(LoadedImage->DeviceHandle, (CHAR16*)Path);
244246
File->Close(File);
245247
Root->Close(Root);

0 commit comments

Comments
 (0)