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

Function relative_offset

src/commonlib/fsp_relocate.c:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48#define FSPP_SIG 0x50505346
49
50static void *relative_offset(void *base, ssize_t offset)
51{
52 uintptr_t loc;
53
54 loc = (uintptr_t)base;
55 loc += offset;
56
57 return (void *)loc;
58}
59
60static size_t csh_size(const EFI_COMMON_SECTION_HEADER *csh)
61{

Callers 7

fspp_relocFunction · 0.70
fsp_get_info_hdrFunction · 0.70
pe_relocateFunction · 0.70
te_relocateFunction · 0.70
relocate_patch_tableFunction · 0.70
relocate_remaining_itemsFunction · 0.70
relocate_fvhFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected