SCCS-vsn: sys/pmax/pmax/pmap.c 7.8
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)pmap.c 7.7 (Berkeley) %G%
+ * @(#)pmap.c 7.8 (Berkeley) %G%
* just record page as dirty.
*/
npte = PG_M;
* just record page as dirty.
*/
npte = PG_M;
} else
#ifdef ATTR
if ((pmap_attributes[atop(pa - KERNBASE)] &
} else
#ifdef ATTR
if ((pmap_attributes[atop(pa - KERNBASE)] &
* NOTE: we only support cache flush for read only text.
*/
if (prot == (VM_PROT_READ | VM_PROT_EXECUTE))
* NOTE: we only support cache flush for read only text.
*/
if (prot == (VM_PROT_READ | VM_PROT_EXECUTE))
- MachFlushICache(MACH_PHYS_TO_UNCACHED(pa), PAGE_SIZE);
+ MachFlushICache(MACH_PHYS_TO_CACHED(pa), PAGE_SIZE);
if (!pmap->pm_hash) {
register pt_entry_t *pte;
if (!pmap->pm_hash) {
register pt_entry_t *pte;