MCPcopy Create free account
hub / github.com/coreboot/coreboot / file_section_offset

Function file_section_offset

src/commonlib/fsp_relocate.c:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static size_t file_section_offset(const EFI_FFS_FILE_HEADER *ffsfh)
74{
75 if (IS_FFS_FILE2(ffsfh))
76 return sizeof(EFI_FFS_FILE_HEADER2);
77 else
78 return sizeof(EFI_FFS_FILE_HEADER);
79}
80
81static size_t section_data_offset(const EFI_COMMON_SECTION_HEADER *csh)
82{

Callers 3

fsp_get_info_hdrFunction · 0.85
relocate_remaining_itemsFunction · 0.85
relocate_fvhFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected