UEFI LoadImage hangs
问题 I am looking at using Bootservices function LoadImage to load a UEFI application image from memory. Function parameters are: typedef EFI_STATUS LoadImage ( IN BOOLEAN BootPolicy, IN EFI_HANDLE ParentImageHandle, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN VOID *SourceBuffer OPTIONAL, IN UINTN SourceSize, OUT EFI_HANDLE *ImageHandle ); I have sourcebuffer in memory and populated with the PE/COFF image to load. I pass that in under SourceBuffer and set DevicePath to the following: MEMMAP_DEVICE