Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/aim/mmu_oea64.c
Show First 20 Lines • Show All 1,295 Lines • ▼ Show 20 Lines | CPU_FOREACH(i) { | ||||
PMAP_LOCK(kernel_pmap); | PMAP_LOCK(kernel_pmap); | ||||
pc->pc_aim.qmap_pvo = | pc->pc_aim.qmap_pvo = | ||||
moea64_pvo_find_va(kernel_pmap, pc->pc_qmap_addr); | moea64_pvo_find_va(kernel_pmap, pc->pc_qmap_addr); | ||||
PMAP_UNLOCK(kernel_pmap); | PMAP_UNLOCK(kernel_pmap); | ||||
mtx_init(&pc->pc_aim.qmap_lock, "qmap lock", NULL, MTX_DEF); | mtx_init(&pc->pc_aim.qmap_lock, "qmap lock", NULL, MTX_DEF); | ||||
} | } | ||||
} | } | ||||
SYSINIT(qpages_init, SI_SUB_CPU, SI_ORDER_ANY, moea64_pmap_init_qpages, NULL); | SYSINIT(qpages_init, SI_SUB_CPU, SI_ORDER_ANY, moea64_pmap_init_qpages); | ||||
/* | /* | ||||
* Activate a user pmap. This mostly involves setting some non-CPU | * Activate a user pmap. This mostly involves setting some non-CPU | ||||
* state. | * state. | ||||
*/ | */ | ||||
void | void | ||||
moea64_activate(struct thread *td) | moea64_activate(struct thread *td) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 3,013 Lines • Show Last 20 Lines |