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

Function init_link

src/device/device.c:564–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

562}
563
564static void init_link(struct bus *link)
565{
566 struct device *dev;
567
568 for (dev = link->children; dev; dev = dev->sibling) {
569 post_code(POSTCODE_BS_DEV_INIT);
570 post_log_path(dev);
571 init_dev(dev);
572 }
573
574 for (dev = link->children; dev; dev = dev->sibling)
575 if (dev->downstream)
576 init_link(dev->downstream);
577}
578
579/**
580 * Initialize all devices in the global device tree.

Callers 1

dev_initializeFunction · 0.85

Calls 3

post_codeFunction · 0.85
post_log_pathFunction · 0.85
init_devFunction · 0.85

Tested by

no test coverage detected