* Initialise a struct pcpu. */
| 475 | * Initialise a struct pcpu. |
| 476 | */ |
| 477 | void |
| 478 | cpu_pcpu_init(struct pcpu *pcpu, int cpuid, size_t size) |
| 479 | { |
| 480 | |
| 481 | pcpu->pc_next_asid = 1; |
| 482 | pcpu->pc_asid_generation = 1; |
| 483 | pcpu->pc_self = pcpu; |
| 484 | #ifdef SMP |
| 485 | if ((vm_offset_t)pcpup >= VM_MIN_KERNEL_ADDRESS && |
| 486 | (vm_offset_t)pcpup <= VM_MAX_KERNEL_ADDRESS) { |
| 487 | mips_pcpu_tlb_init(pcpu); |
| 488 | } |
| 489 | #endif |
| 490 | } |
| 491 | |
| 492 | int |
| 493 | fill_dbregs(struct thread *td, struct dbreg *dbregs) |
nothing calls this directly
no test coverage detected