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

Function GetSectionFileLength

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

Source from the content-addressed store, hash-verified

785}
786
787UINT32
788GetSectionFileLength (
789 EFI_COMMON_SECTION_HEADER *SectionHeader
790 )
791{
792 UINT32 Length;
793 if (SectionHeader == NULL) {
794 return 0;
795 }
796 Length = GetLength(SectionHeader->Size);
797 if (Length == 0xffffff) {
798 Length = ((EFI_COMMON_SECTION_HEADER2 *)SectionHeader)->ExtendedSize;
799 }
800 return Length;
801}
802
803UINT32
804GetLength (

Callers 3

AdjustInternalFfsPaddingFunction · 0.85
SearchSectionByTypeFunction · 0.85
ParseSectionFunction · 0.85

Calls 1

GetLengthFunction · 0.85

Tested by

no test coverage detected