Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwPadFile.c27 IN EFI_FFS_FILE_HEADER *PadFileHeader in SetPadFileChecksum() argument
30 if ((PadFileHeader->Attributes & FFS_ATTRIB_CHECKSUM) != 0) { in SetPadFileChecksum()
32 if (IS_FFS_FILE2 (PadFileHeader)) { in SetPadFileChecksum()
36 PadFileHeader->IntegrityCheck.Checksum.File = in SetPadFileChecksum()
37 …CalculateCheckSum8 ((UINT8 *) PadFileHeader + sizeof (EFI_FFS_FILE_HEADER2), FFS_FILE2_SIZE (PadFi… in SetPadFileChecksum()
43 PadFileHeader->IntegrityCheck.Checksum.File = in SetPadFileChecksum()
44 …CalculateCheckSum8 ((UINT8 *) PadFileHeader + sizeof (EFI_FFS_FILE_HEADER), FFS_FILE_SIZE (PadFile… in SetPadFileChecksum()
49 PadFileHeader->IntegrityCheck.Checksum.File = FFS_FIXED_CHECKSUM; in SetPadFileChecksum()
78 EFI_FFS_FILE_HEADER *PadFileHeader; in FvCreatePadFileInFreeSpace() local
115 PadFileHeader = (EFI_FFS_FILE_HEADER *) StartPos; in FvCreatePadFileInFreeSpace()
[all …]