X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxe%2FImage%2FImageFile.c;h=029f7cf2a7830d2ec62898fd9861e2b6c56c058e;hp=408688c69fd93025c000975ad040bd7dc556e158;hb=0c2b5da80e9551286cd02a92d91090290ae2d816;hpb=28a00297189c323096aae8e2975de94e8549613c diff --git a/MdeModulePkg/Core/Dxe/Image/ImageFile.c b/MdeModulePkg/Core/Dxe/Image/ImageFile.c index 408688c69f..029f7cf2a7 100644 --- a/MdeModulePkg/Core/Dxe/Image/ImageFile.c +++ b/MdeModulePkg/Core/Dxe/Image/ImageFile.c @@ -74,7 +74,7 @@ Returns: EFI_FILE_HANDLE FileHandle; EFI_FILE_HANDLE LastHandle; EFI_LOAD_FILE_PROTOCOL *LoadFile; - EFI_FIRMWARE_VOLUME_PROTOCOL *FwVol; + EFI_FIRMWARE_VOLUME2_PROTOCOL *FwVol; EFI_SECTION_TYPE SectionType; UINT8 *Pe32Buffer; UINTN Pe32BufferSize; @@ -115,7 +115,7 @@ Returns: // FwVolFilePathNode = (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *)FilePath; Status = CoreDevicePathToInterface ( - &gEfiFirmwareVolumeProtocolGuid, + &gEfiFirmwareVolume2ProtocolGuid, (EFI_DEVICE_PATH_PROTOCOL **)&FwVolFilePathNode, (VOID*)&FwVol, DeviceHandle