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

Function GetLength

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

Source from the content-addressed store, hash-verified

801}
802
803UINT32
804GetLength (
805 UINT8 *ThreeByteLength
806 )
807/*++
808
809Routine Description:
810
811 Converts a three byte length value into a UINT32.
812
813Arguments:
814
815 ThreeByteLength Pointer to the first of the 3 byte length.
816
817Returns:
818
819 UINT32 Size of the section
820
821--*/
822{
823 UINT32 Length;
824
825 if (ThreeByteLength == NULL) {
826 return 0;
827 }
828
829 Length = *((UINT32 *) ThreeByteLength);
830 Length = Length & 0x00FFFFFF;
831
832 return Length;
833}
834
835EFI_STATUS
836GetErasePolarity (

Callers 6

SearchSectionByTypeFunction · 0.85
GetSectionHeaderLengthFunction · 0.85
GetFfsFileLengthFunction · 0.85
GetSectionFileLengthFunction · 0.85
PrintFileInfoFunction · 0.85
ParseSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected