From c6c2263566ad5cc9937c503c66cc001db52b1db5 Mon Sep 17 00:00:00 2001 From: jonathan Date: Fri, 20 Jun 1997 04:34:38 +0000 Subject: [PATCH] MachHitFlushDCache -> mips3_HitFlushDCache(). Add XXX reminder to d-cache flush I don't understand. --- sys/arch/mips/mips/pmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/mips/mips/pmap.c b/sys/arch/mips/mips/pmap.c index 578fca5cb1b7..368c1e01e6be 100644 --- a/sys/arch/mips/mips/pmap.c +++ b/sys/arch/mips/mips/pmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.22 1997/06/19 06:30:47 mhitch Exp $ */ +/* $NetBSD: pmap.c,v 1.23 1997/06/20 04:34:38 jonathan Exp $ */ /* * Copyright (c) 1992, 1993 @@ -474,8 +474,8 @@ pmap_release(pmap) #ifdef MIPS3 if (CPUISMIPS3) { - - MachHitFlushDCache((caddr_t)pte, PAGE_SIZE); + /* XXX why flush page full of freed PTEs? */ + mips3_HitFlushDCache((caddr_t)pte, PAGE_SIZE); vm_page_free1( PHYS_TO_VM_PAGE(MACH_CACHED_TO_PHYS(pte))); }