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

Function section_data_offset

src/commonlib/fsp_relocate.c:81–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81static size_t section_data_offset(const EFI_COMMON_SECTION_HEADER *csh)
82{
83 if (csh_size(csh) == MASK_24BITS)
84 return sizeof(EFI_COMMON_SECTION_HEADER2);
85 else
86 return sizeof(EFI_COMMON_SECTION_HEADER);
87}
88
89static uint32_t *fspp_reloc(void *fsp, size_t fsp_size, uint32_t e)
90{

Callers 4

fsp_get_info_hdrFunction · 0.85
section_data_sizeFunction · 0.85
relocate_remaining_itemsFunction · 0.85
relocate_fvhFunction · 0.85

Calls 1

csh_sizeFunction · 0.85

Tested by

no test coverage detected