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

Function teardown_fmap

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

Source from the content-addressed store, hash-verified

44}
45
46static int teardown_fmap(void **state)
47{
48 rdev_chain_mem_rw(&flash_rdev_rw, NULL, 0);
49 rdev_chain_mem(&flash_rdev_ro, NULL, 0);
50
51 free(flash_buffer);
52 flash_buffer = NULL;
53 flash_buffer_size = 0;
54
55 return 0;
56}
57
58void boot_device_init(void)
59{

Callers

nothing calls this directly

Calls 3

rdev_chain_mem_rwFunction · 0.85
rdev_chain_memFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected