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

Function setup_fmap

tests/lib/fmap-test.c:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38static int setup_fmap(void **state)
39{
40 prepare_flash_buffer();
41 rdev_chain_mem_rw(&flash_rdev_rw, flash_buffer, FMAP_SECTION_FLASH_SIZE);
42 rdev_chain_mem(&flash_rdev_ro, flash_buffer, FMAP_SECTION_FLASH_SIZE);
43 return 0;
44}
45
46static int teardown_fmap(void **state)
47{

Callers

nothing calls this directly

Calls 3

prepare_flash_bufferFunction · 0.85
rdev_chain_mem_rwFunction · 0.85
rdev_chain_memFunction · 0.85

Tested by

no test coverage detected