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

Function region_device_init

src/commonlib/region.c:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void region_device_init(struct region_device *rdev,
180 const struct region_device_ops *ops, size_t offset,
181 size_t size)
182{
183 memset(rdev, 0, sizeof(*rdev));
184 rdev->root = NULL;
185 rdev->ops = ops;
186 rdev->region.offset = offset;
187 rdev->region.size = size;
188}
189
190static void xlate_region_device_init(struct xlate_region_device *xdev,
191 const struct region_device_ops *ops,

Callers 2

xlate_region_device_initFunction · 0.85
incoherent_rdev_initFunction · 0.85

Calls 1

memsetFunction · 0.50

Tested by

no test coverage detected