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

Function dev_finalize

src/device/device.c:638–649  ·  view source on GitHub ↗

* Finalize all devices in the global device tree. * * Starting at the root device, call the device's final() method to do * device-specific cleanup, then call each child's final() method. */

Source from the content-addressed store, hash-verified

636 * device-specific cleanup, then call each child's final() method.
637 */
638void dev_finalize(void)
639{
640 printk(BIOS_INFO, "Finalize devices...\n");
641
642 /* First call the mainboard finalize. */
643 final_dev(&dev_root);
644
645 /* Now finalize everything. */
646 final_link(dev_root.downstream);
647
648 printk(BIOS_INFO, "Devices finalized\n");
649}

Callers 1

bs_post_deviceFunction · 0.85

Calls 3

final_devFunction · 0.85
final_linkFunction · 0.85
printkFunction · 0.50

Tested by

no test coverage detected