Subject: pmapmove()
To: None <port-arm32@netbsd.org>
From: Menguang Tsai <mgtsai@Wizard.IM.ntu.edu.tw>
List: port-arm32
Date: 10/11/1999 21:43:04
I have some problem for pmapmove().
This function moves physical pages from one virtual address
to another virtual address. But I didn't find any code for
changing pv list. The code like the following should be in
pmapmove():
pa = pmap_pte_pa(fpte);
bank = vm_physseg_find(atop(pa), &off);
for (pv = &vm_physmem[bank].pmseg.pvent[off]; pv; pv = pv->pv_next) {
if (pv->pv_pmap == pmap_kernel() && pv->pv_va == from) {
pv->pv_va = to;
break;
}
}
Can anyone answer why the absence of these code? Thanks a lot.