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

Function get_fit_ptr

util/cbfstool/fit.c:534–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532}
533
534static uint32_t *get_fit_ptr(struct buffer *bootblock, fit_offset_converter_t offset_fn,
535 uint32_t topswap_size)
536{
537 return rom_buffer_pointer(bootblock,
538 ptr_to_offset(offset_fn, bootblock,
539 FIT_POINTER_LOCATION - topswap_size));
540}
541
542/* Set the FIT pointer to a FIT table. */
543int set_fit_pointer(struct buffer *bootblock,

Callers 2

set_fit_pointerFunction · 0.85
fit_get_tableFunction · 0.85

Calls 2

rom_buffer_pointerFunction · 0.85
ptr_to_offsetFunction · 0.85

Tested by

no test coverage detected