Subject: CVS commit: syssrc/sys/arch/mips
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 11/19/2001 03:28:09
Module Name:	syssrc
Committed By:	thorpej
Date:		Mon Nov 19 01:28:08 UTC 2001

Modified Files:
	syssrc/sys/arch/mips/include: cache.h
	syssrc/sys/arch/mips/mips: cache.c

Log Message:
Add mips_dcache_align and mips_dcache_align_mask variables that
contain information suitable for allowing other parts of the kernel
to determine if a memory region is aligned to the largest data cache
line size present in the system.

Add a mips_dcache_compute_align() function which must be called whenever
one of the data cache line size variables is changed, in order to
compute mips_dcache_align and mips_dcache_align_mask.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/mips/include/cache.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/mips/mips/cache.c

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