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

Function boot_device_subregion

src/lib/boot_device.c:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17static int boot_device_subregion(const struct region *sub,
18 struct region_device *subrd,
19 const struct region_device *parent)
20{
21 if (parent == NULL)
22 return -1;
23
24 return rdev_chain(subrd, parent, region_offset(sub), region_sz(sub));
25}
26
27int boot_device_ro_subregion(const struct region *sub,
28 struct region_device *subrd)

Callers 2

boot_device_ro_subregionFunction · 0.85
boot_device_rw_subregionFunction · 0.85

Calls 3

rdev_chainFunction · 0.85
region_offsetFunction · 0.85
region_szFunction · 0.85

Tested by

no test coverage detected