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

Function mp_cpu_bus_init

src/include/device/device.h:239–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 int enabled);
238void mp_init_cpus(DEVTREE_CONST struct bus *cpu_bus);
239static inline void mp_cpu_bus_init(struct device *dev)
240{
241 /* Make sure the cpu cluster has a downstream bus for LAPICs to be allocated. */
242 struct bus *bus = alloc_bus(dev);
243
244 mp_init_cpus(bus);
245}
246
247/* Debug functions */
248void print_resource_tree(const struct device *root, int debug_level,

Callers 2

cpu_bus_initFunction · 0.85
init_cpusFunction · 0.85

Calls 2

alloc_busFunction · 0.50
mp_init_cpusFunction · 0.50

Tested by

no test coverage detected