Home
last modified time | relevance | path

Searched refs:FvImage (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/
DGenFvImageLib.c1233 IN OUT MEMORY_FILE *FvImage, in AddPadFile() argument
1265 if (FvImage == NULL) { in AddPadFile()
1272 assert ((UINTN) FvImage->CurrentFilePointer % 8 == 0); in AddPadFile()
1278 …if (((UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage + sizeof (EFI_FFS_FILE_HEADE… in AddPadFile()
1284 PadFile = (EFI_FFS_FILE_HEADER *) FvImage->CurrentFilePointer; in AddPadFile()
1289 if ((UINTN) (PadFile + sizeof (EFI_FFS_FILE_HEADER)) >= (UINTN) FvImage->Eof) { in AddPadFile()
1306 …PadFileSize = (UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage + (sizeof (EFI_FFS_… in AddPadFile()
1322 PadFileSize -= (UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage; in AddPadFile()
1351 (EFI_FIRMWARE_VOLUME_HEADER *) FvImage->FileImage in AddPadFile()
1357 if ((UINTN) (PadFile + sizeof (EFI_FFS_FILE_HEADER)) >= (UINTN) FvImage->Eof) { in AddPadFile()
[all …]
DGenFvImageExe.c136 UINT8 *FvImage; in main() local
227 &FvImage, in main()
275 free (FvImage); in main()
280 if (fwrite (FvImage, 1, FvImageSize, FvFile) != FvImageSize) { in main()
282 free (FvImage); in main()
289 free (FvImage); in main()
DGenFvImageLib.h59 OUT UINT8 **FvImage,
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/DxeCapsuleLib/
DDxeCapsuleLib.c423 EFI_FIRMWARE_VOLUME_HEADER *FvImage; in ProcessCapsuleImage() local
429 FvImage = NULL; in ProcessCapsuleImage()
455 FvImage = (EFI_FIRMWARE_VOLUME_HEADER *) ((UINT8 *) CapsuleHeader + CapsuleHeader->HeaderSize); in ProcessCapsuleImage()
463 if (FvImage->FvLength > (UINTN) Length) { in ProcessCapsuleImage()
472 FvAlignment = 1 << ((FvImage->Attributes & EFI_FVB2_ALIGNMENT) >> 16); in ProcessCapsuleImage()
482 if (((UINTN) FvImage % FvAlignment) == 0) { in ProcessCapsuleImage()
483 ProcessedFvImage = FvImage; in ProcessCapsuleImage()
488 …OLUME_HEADER *) AllocateAlignedPages ((UINTN) EFI_SIZE_TO_PAGES ((UINTN) FvImage->FvLength), (UINT… in ProcessCapsuleImage()
493 CopyMem (ProcessedFvImage, FvImage, (UINTN) FvImage->FvLength); in ProcessCapsuleImage()
511 Length -= (UINT32) FvImage->FvLength; in ProcessCapsuleImage()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFvInternalLib.c529 IN OUT MEMORY_FILE *FvImage, in AddPadFile() argument
568 if (FvImage == NULL) { in AddPadFile()
593 …if (((UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage + NextFfsHeaderSize) % DataA… in AddPadFile()
596 …PadFileSize = (UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage + sizeof (EFI_FFS_F… in AddPadFile()
610 PadFileSize -= (UINTN) FvImage->CurrentFilePointer - (UINTN) FvImage->FileImage; in AddPadFile()
616 if (((UINTN) FvImage->CurrentFilePointer + PadFileSize) > (UINTN) FvEnd) { in AddPadFile()
623 PadFile = (EFI_FFS_FILE_HEADER *) FvImage->CurrentFilePointer; in AddPadFile()
656 (EFI_FIRMWARE_VOLUME_HEADER *) FvImage->FileImage in AddPadFile()
662 FvImage->CurrentFilePointer += PadFileSize; in AddPadFile()
669 …RE_VOLUME_HEADER *) FvImage->FileImage)->ExtHeaderOffset = (UINT16) ((UINTN) ((UINT8 *)PadFile + C… in AddPadFile()
[all …]
DGenFvInternalLib.h337 IN MEMORY_FILE *FvImage,
/device/linaro/bootloader/edk2/SignedCapsulePkg/Universal/SystemFirmwareUpdate/
DSystemFirmwareReportDxe.c58 EFI_FIRMWARE_VOLUME_HEADER *FvImage; in DispatchSystemFmpImages() local
85 FvImage = AllocatePages(EFI_SIZE_TO_PAGES(DispatchFvImageSize)); in DispatchSystemFmpImages()
86 if (FvImage != NULL) { in DispatchSystemFmpImages()
87 CopyMem(FvImage, DispatchFvImage, DispatchFvImageSize); in DispatchSystemFmpImages()
89 (VOID *)FvImage, in DispatchSystemFmpImages()
90 (UINTN)FvImage->FvLength, in DispatchSystemFmpImages()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c121 EFI_FIRMWARE_VOLUME_HEADER *FvImage,
234 EFI_FIRMWARE_VOLUME_HEADER *FvImage; in main() local
417 FvImage = malloc (FvSize); in main()
418 if (FvImage == NULL) { in main()
427 BytesRead = fread (FvImage, 1, FvSize, InputFile); in main()
431 free (FvImage); in main()
437 PrintFvInfo (FvImage, FALSE); in main()
442 free (FvImage); in main()
1093 EFI_FIRMWARE_VOLUME_HEADER *FvImage, in PrintFileInfo() argument
1155 printf ("File Offset: 0x%08X\n", (unsigned) ((UINTN) FileHeader - (UINTN) FvImage)); in PrintFileInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/
DPeiMain.inf92 ## SOMETIMES_PRODUCES # Produce FvInfoPpi if the encapsulated FvImage is found
95 ## SOMETIMES_PRODUCES # Produce FvInfoPpi2 if the encapsulated FvImage is found
/device/linaro/bootloader/edk2/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/
DRecoveryModuleLoadPei.c414 IN VOID *FvImage, in CreateHobForRecoveryCapsule() argument
426 FvHeader = (EFI_FIRMWARE_VOLUME_HEADER *) FvImage; in CreateHobForRecoveryCapsule()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DEot.py27 from FvImage import *
/device/linaro/bootloader/edk2/BaseTools/Source/Python/
DMakefile118 $(BASE_TOOLS_PATH)\Source\Python\Eot\FvImage.py \
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
Dbuild.py754 self.FvList = BuildOptions.FvImage
/device/linaro/bootloader/edk2/BaseTools/UserManuals/
DGenFv_Utility_Man_Page.rtf139 \hich\af43\dbch\af31505\loch\f43 nstruct FvImage or CapImage. }{\rtlch\fcs1 \af43\afs18 \ltrch\fcs0…
DGenFds_Utility_Man_Page.rtf197 …f41\afs18 \ltrch\fcs0 \fs18\cf1\insrsid5513321 \hich\af41\dbch\af13\loch\f41 -i, --FvImage UiFvName