Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/arm/pmap-v6.c
| Show First 20 Lines • Show All 6,208 Lines • ▼ Show 20 Lines | #endif | ||||
| * pmap_activate is for the current thread on the current cpu | * pmap_activate is for the current thread on the current cpu | ||||
| */ | */ | ||||
| td->td_pcb->pcb_pagedir = ttb; | td->td_pcb->pcb_pagedir = ttb; | ||||
| cp15_ttbr_set(ttb); | cp15_ttbr_set(ttb); | ||||
| PCPU_SET(curpmap, pmap); | PCPU_SET(curpmap, pmap); | ||||
| critical_exit(); | critical_exit(); | ||||
| } | } | ||||
| void | |||||
| pmap_active_cpus(pmap_t pmap, cpuset_t *res) | |||||
| { | |||||
| *res = pmap->pm_active; | |||||
| } | |||||
| /* | /* | ||||
| * Perform the pmap work for mincore(2). If the page is not both referenced and | * Perform the pmap work for mincore(2). If the page is not both referenced and | ||||
| * modified by this pmap, returns its physical address so that the caller can | * modified by this pmap, returns its physical address so that the caller can | ||||
| * find other mappings. | * find other mappings. | ||||
| */ | */ | ||||
| int | int | ||||
| pmap_mincore(pmap_t pmap, vm_offset_t addr, vm_paddr_t *pap) | pmap_mincore(pmap_t pmap, vm_offset_t addr, vm_paddr_t *pap) | ||||
| { | { | ||||
| ▲ Show 20 Lines • Show All 731 Lines • Show Last 20 Lines | |||||