Subject: CVS commit: syssrc/sys/arch/sh5/sh5
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 09/10/2002 15:42:04
Module Name: syssrc
Committed By: scw
Date: Tue Sep 10 12:42:04 UTC 2002
Modified Files:
syssrc/sys/arch/sh5/sh5: pmap.c
Log Message:
Another big round of pmap fixes/cleanup:
- Use the PMAP_ASID_* constants from pmap.h
- Track pmap_pvo_{enter,remove}() depth in the same way as mpc6xx's pmap
(on which this pmap was originally based).
- Some misc. tidying up and added commentary.
- Use the VA/KVA to select whether to use the IPT or PTEG instead of
checking which pmap is being operated on.
- Add a handy DDB-callable function which will scan the kernel IPT
looking for inconsitencies.
- Finally, when unmapping a pool page, purge the data cache for the
page. This permits write-back caching to be enabled for kernel
text/data.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/sh5/sh5/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.