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

Function rdev_chain_mem

src/commonlib/region.c:294–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292static const struct mem_region_device mem_rdev_rw = MEM_REGION_DEV_RW_INIT(0, ~(size_t)0);
293
294int rdev_chain_mem(struct region_device *child, const void *base, size_t size)
295{
296 return rdev_chain(child, &mem_rdev.rdev, (uintptr_t)base, size);
297}
298
299int rdev_chain_mem_rw(struct region_device *child, void *base, size_t size)
300{

Callers 15

get_preload_rdevFunction · 0.85
cbfs_prog_stage_loadFunction · 0.85
setup_preram_cacheFunction · 0.85
update_mrc_cache_by_typeFunction · 0.85
locate_vbt_vbiosFunction · 0.85
locate_vbt_cbfsFunction · 0.85
bios_mmap_initFunction · 0.85
prog_chain_rdevFunction · 0.85
setup_fmapFunction · 0.85
teardown_fmapFunction · 0.85

Calls 1

rdev_chainFunction · 0.85

Tested by 8

setup_fmapFunction · 0.68
teardown_fmapFunction · 0.68
setup_test_cbfs_alignedFunction · 0.68
test_cbfs_map_no_hashFunction · 0.68
test_cbfs_map_valid_hashFunction · 0.68