Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Paul Kranenburg <pk@netbsd.org>
List: source-changes
Date: 06/05/2000 13:38:28
Module Name:	syssrc
Committed By:	pk
Date:		Mon Jun  5 20:38:28 UTC 2000

Modified Files:
	syssrc/sys/arch/sparc/sparc: cache.c cache.h cpu.c cpuvar.h pmap.c

Log Message:
Re-arrange code to flush physically indexed caches:

* replace `flush by line' function with a `flush by page' funtion, which
  also takes an argument to indicate that write-back caches need not
  validate its backing memory.

* use this function when allocating page table memory to flush the cache
  before mapping it into kernel virtual space.

* also use it in pmap_{zero,copy}_page(), so we can safely use non-cacheable
  access in there.


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 syssrc/sys/arch/sparc/sparc/cache.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/sparc/sparc/cache.h
cvs rdiff -r1.103 -r1.104 syssrc/sys/arch/sparc/sparc/cpu.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/sparc/sparc/cpuvar.h
cvs rdiff -r1.166 -r1.167 syssrc/sys/arch/sparc/sparc/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.