MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ucode_load_ap

Function ucode_load_ap

freebsd/x86/x86/ucode.c:265–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263SYSINIT(ucode_release, SI_SUB_SMP + 1, SI_ORDER_ANY, ucode_release, NULL);
264
265void
266ucode_load_ap(int cpu)
267{
268#ifdef SMP
269 KASSERT(cpu_info[cpu_apic_ids[cpu]].cpu_present,
270 ("cpu %d not present", cpu));
271
272 if (cpu_info[cpu_apic_ids[cpu]].cpu_hyperthread)
273 return;
274#endif
275
276 if (ucode_data != NULL)
277 (void)ucode_loader->load(ucode_data, false, NULL, NULL);
278}
279
280static void *
281map_ucode(uintptr_t free, size_t len)

Callers 3

init_secondaryFunction · 0.85
init_secondaryFunction · 0.85
ucode_reloadFunction · 0.85

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected