| 263 | SYSINIT(ucode_release, SI_SUB_SMP + 1, SI_ORDER_ANY, ucode_release, NULL); |
| 264 | |
| 265 | void |
| 266 | ucode_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 | |
| 280 | static void * |
| 281 | map_ucode(uintptr_t free, size_t len) |
no test coverage detected