Subject: CVS commit: src/sys/arch/mips/mips
To: None <source-changes@NetBSD.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 12/18/2006 00:40:27
Module Name:	src
Committed By:	simonb
Date:		Mon Dec 18 00:40:27 UTC 2006

Modified Files:
	src/sys/arch/mips/mips: pmap.c

Log Message:
Handle KSEG0 addresses specifically in pmap_extract(), similar
to how other KSEG-style pmaps (alpha, sh3, sh5) do.

Add a DIAGNOSTIC panic for KSEG1 addresses (nothing should touch
uncached memory, right?)

Clean up the the pmapdebug printfs a little too (athough with
more ugly #ifdef DEBUG bits of code).
XXX: should use DPRINTF() type printfs here.

Fixes panic running regress/sys/kern/umount on MIPS platforms
reported by Martin Husemann.


To generate a diff of this commit:
cvs rdiff -r1.168 -r1.169 src/sys/arch/mips/mips/pmap.c

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