Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 01/05/2004 02:25:33
Module Name:	src
Committed By:	chs
Date:		Mon Jan  5 02:25:33 UTC 2004

Modified Files:
	src/sys/arch/hp700/hp700: mainbus.c
	src/sys/arch/hppa/hppa: pmap.c
	src/sys/arch/hppa/include: pmap.h

Log Message:
add a PMAP_NC flag for pmap_kenter_pa() to specific a non-cached mapping.
use this in mbus_dmamem_map() to fix corruption of DMA memory.
note that this TLB bit is ignored on some CPUs (PA7100 and probably
others of that era), so this doesn't fix the problem in general,
but it does work on newer models and will make things easier later.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/hp700/hp700/mainbus.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/hppa/hppa/pmap.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/hppa/include/pmap.h

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