Searched refs:VtfFileImage (Results 1 – 2 of 2) sorted by relevance
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/ |
D | GenFvImageLib.c | 1850 IN OUT EFI_FFS_FILE_HEADER **VtfFileImage, in ReallocateFvImage() argument 1916 memcpy (FileImage, FvImage->FileImage, (UINTN) *VtfFileImage - (UINTN) FvImage->FileImage); in ReallocateFvImage() 1924 …NewVtfFileImage = (EFI_FFS_FILE_HEADER *) (FileImage + ((UINTN) *VtfFileImage - (UINTN) FvImage->F… in ReallocateFvImage() 1925 if ((UINTN) *VtfFileImage != (UINTN) FvImage->Eof) { in ReallocateFvImage() 1931 VtfFileLength = GetLength ((*VtfFileImage)->Size); in ReallocateFvImage() 1933 TempByte = ((UINT8 *) VtfFileImage)[VtfFileLength]; in ReallocateFvImage() 1934 ((UINT8 *) VtfFileImage)[VtfFileLength] = ((UINT8 *) NewVtfFileImage)[VtfFileLength]; in ReallocateFvImage() 1942 *VtfFileImage = NewVtfFileImage; in ReallocateFvImage() 1977 IN OUT EFI_FFS_FILE_HEADER **VtfFileImage, in AddFile() argument 2026 …if (FvImage == NULL || FvInfo == NULL || FvInfo->FvFiles[Index][0] == 0 || VtfFileImage == NULL ||… in AddFile() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFvInternalLib.c | 1096 IN OUT EFI_FFS_FILE_HEADER **VtfFileImage, in AddFile() argument 1140 if (FvImage == NULL || FvInfo == NULL || FvInfo->FvFiles[Index][0] == 0 || VtfFileImage == NULL) { in AddFile() 1211 if (FileSize > (UINTN) ((UINTN) *VtfFileImage - (UINTN) FvImage->CurrentFilePointer)) { in AddFile() 1253 if ((UINTN) *VtfFileImage == (UINTN) FvImage->Eof) { in AddFile() 1257 …*VtfFileImage = (EFI_FFS_FILE_HEADER *) (UINTN) ((UINTN) FvImage->FileImage + FvInfo->Size - FileS… in AddFile() 1261 …if (((UINTN) *VtfFileImage + GetFfsHeaderLength((EFI_FFS_FILE_HEADER *)FileBuffer) - (UINTN) FvIma… in AddFile() 1270 … FvInfo->FvFiles[Index], (EFI_FFS_FILE_HEADER *) FileBuffer, (UINTN) *VtfFileImage - (UINTN) FvIma… in AddFile() 1278 memcpy (*VtfFileImage, FileBuffer, FileSize); in AddFile() 1281 …fprintf (FvReportFile, "0x%08X %s\n", (unsigned)(UINTN) (((UINT8 *)*VtfFileImage) - (UINTN)FvImage… in AddFile() 1301 Status = AddPadFile (FvImage, 1 << CurrentFileAlignment, *VtfFileImage, NULL, FileSize); in AddFile() [all …]
|