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

Function find_frba

util/ifdtool/ifdtool.c:184–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184static struct frba *find_frba(char *image, int size)
185{
186 struct fdbar *fdb = find_fd(image, size);
187 if (!fdb)
188 return NULL;
189 struct frba *frba =
190 (struct frba *) (image + (((fdb->flmap0 >> 16) & 0xff) << 4));
191 return PTR_IN_RANGE(frba, image, size) ? frba : NULL;
192}
193
194static struct fpsba *find_fpsba(char *image, int size)
195{

Callers 9

dump_flashrom_layoutFunction · 0.85
dump_fdFunction · 0.85
create_fmap_templateFunction · 0.85
write_regionsFunction · 0.85
validate_layoutFunction · 0.85
lock_descriptorFunction · 0.85
calculate_gpr0_rangeFunction · 0.85
inject_regionFunction · 0.85
new_layoutFunction · 0.85

Calls 1

find_fdFunction · 0.85

Tested by

no test coverage detected