Fix page reference emulation on ARMv6 and v7

Submitted by: Zbigniew Bodek
Obtained from: Semihalf
This commit is contained in:
Grzegorz Bernacki 2013-05-06 16:11:53 +00:00
parent 5ab64734f3
commit e639aa9e4e

View File

@ -2649,6 +2649,7 @@ pmap_enter_locked(pmap_t pmap, vm_offset_t va, vm_page_t m, vm_prot_t prot,
/*
* Need to do page referenced emulation.
*/
npte &= ~L2_TYPE_MASK;
npte |= L2_TYPE_INV;
}