| 186 | } |
| 187 | |
| 188 | void |
| 189 | platform_init_ap(int cpuid) |
| 190 | { |
| 191 | uint32_t clock_int_mask; |
| 192 | uint32_t ipi_intr_mask; |
| 193 | |
| 194 | /* |
| 195 | * Clear any pending IPIs. |
| 196 | */ |
| 197 | platform_ipi_clear(); |
| 198 | |
| 199 | /* |
| 200 | * Unmask the clock and ipi interrupts. |
| 201 | */ |
| 202 | ipi_intr_mask = soft_int_mask(platform_ipi_softintr_num()); |
| 203 | clock_int_mask = hard_int_mask(5); |
| 204 | set_intr_mask(ipi_intr_mask | clock_int_mask); |
| 205 | |
| 206 | mips_wbflush(); |
| 207 | } |
| 208 | |
| 209 | void |
| 210 | platform_cpu_mask(cpuset_t *mask) |
nothing calls this directly
no test coverage detected