Home
last modified time | relevance | path

Searched refs:TempFvh (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/FwVol/
DFwVol.c187 EFI_FIRMWARE_VOLUME_HEADER TempFvh; in GetFwVolHeader() local
199 Status = ReadFvbData (Fvb, &StartLba, &Offset, FvhLength, (UINT8 *)&TempFvh); in GetFwVolHeader()
207 if (TempFvh.Signature != EFI_FVH_SIGNATURE) { in GetFwVolHeader()
215 if ((!CompareGuid (&TempFvh.FileSystemGuid, &gEfiFirmwareFileSystem2Guid)) && in GetFwVolHeader()
216 (!CompareGuid (&TempFvh.FileSystemGuid, &gEfiFirmwareFileSystem3Guid))) { in GetFwVolHeader()
223 *FwVolHeader = AllocatePool (TempFvh.HeaderLength); in GetFwVolHeader()
231 CopyMem (*FwVolHeader, &TempFvh, sizeof (EFI_FIRMWARE_VOLUME_HEADER)); in GetFwVolHeader()
236 FvhLength = TempFvh.HeaderLength - sizeof (EFI_FIRMWARE_VOLUME_HEADER); in GetFwVolHeader()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwVol.c47 EFI_FIRMWARE_VOLUME_HEADER TempFvh; in GetFwVolHeader() local
84 CopyMem (&TempFvh, (VOID *) (UINTN) BaseAddress, FvhLength); in GetFwVolHeader()
91 (UINT8 *) &TempFvh in GetFwVolHeader()
98 if (TempFvh.Signature != EFI_FVH_SIGNATURE) { in GetFwVolHeader()
106 if ((!CompareGuid (&TempFvh.FileSystemGuid, &gEfiFirmwareFileSystem2Guid)) && in GetFwVolHeader()
107 (!CompareGuid (&TempFvh.FileSystemGuid, &gEfiFirmwareFileSystem3Guid))) { in GetFwVolHeader()
111 *FwVolHeader = AllocatePool (TempFvh.HeaderLength); in GetFwVolHeader()
119 CopyMem (*FwVolHeader, (VOID *) (UINTN) BaseAddress, TempFvh.HeaderLength); in GetFwVolHeader()
124 FvhLength = TempFvh.HeaderLength; in GetFwVolHeader()