Subject: CVS commit: [netbsd-3] src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 01/20/2006 21:14:47
Module Name:	src
Committed By:	riz
Date:		Fri Jan 20 21:14:47 UTC 2006

Modified Files:
	src/sys/arch/xen/i386 [netbsd-3]: pmap.c
	src/sys/arch/xen/include [netbsd-3]: pmap.h
	src/sys/arch/xen/xen [netbsd-3]: privcmd.c xbdback.c xennetback.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1104):
	sys/arch/xen/xen/privcmd.c: revision 1.6
	sys/arch/xen/i386/pmap.c: revision 1.14
	sys/arch/xen/include/pmap.h: revision 1.5
	sys/arch/xen/xen/xennetback.c: revision 1.12 via patch
	sys/arch/xen/xen/xbdback.c: revision 1.15
Add a vm_prot_t parameter to pmap_remap_pages(), and use it for the new PTE
instead to always trying PG_RW and falling back to PG_RO if this fails.
Use uvm_map_checkprot() in IOCTL_PRIVCMD_MMAP and IOCTL_PRIVCMD_MMAP_BATCH
to compute the appropriate vm_prot_t for pmap_remap_pages().
Thanks to Jed Davis for pointing out uvm_map_checkprot().


To generate a diff of this commit:
cvs rdiff -r1.8.2.5 -r1.8.2.6 src/sys/arch/xen/i386/pmap.c
cvs rdiff -r1.4 -r1.4.2.1 src/sys/arch/xen/include/pmap.h
cvs rdiff -r1.2.2.3 -r1.2.2.4 src/sys/arch/xen/xen/privcmd.c
cvs rdiff -r1.4.2.10 -r1.4.2.11 src/sys/arch/xen/xen/xbdback.c
cvs rdiff -r1.4.2.6 -r1.4.2.7 src/sys/arch/xen/xen/xennetback.c

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