MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / GetFfsHeaderLength

Function GetFfsHeaderLength

BaseTools/Source/C/Common/FvLib.c:729–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

727}
728
729UINT32
730GetFfsHeaderLength(
731 IN EFI_FFS_FILE_HEADER *FfsHeader
732 )
733{
734 if (FfsHeader == NULL) {
735 return 0;
736 }
737 if (FfsHeader->Attributes & FFS_ATTRIB_LARGE_FILE) {
738 return sizeof(EFI_FFS_FILE_HEADER2);
739 }
740 return sizeof(EFI_FFS_FILE_HEADER);
741}
742
743UINT32
744GetSectionHeaderLength(

Callers 8

AdjustInternalFfsPaddingFunction · 0.85
AddFileFunction · 0.85
UpdateResetVectorFunction · 0.85
FfsRebaseFunction · 0.85
GetNextFileFunction · 0.85
GetSectionByTypeFunction · 0.85
VerifyFfsFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected