Subject: CVS commit: [bouyer-xen2] src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 02/16/2005 13:46:29
Module Name:	src
Committed By:	bouyer
Date:		Wed Feb 16 13:46:29 UTC 2005

Modified Files:
	src/sys/arch/xen/x86 [bouyer-xen2]: bus_dma.c
Added Files:
	src/sys/arch/xen/i386 [bouyer-xen2]: xen_shm_machdep.c
	src/sys/arch/xen/include [bouyer-xen2]: xen_shm.h

Log Message:
Support functions to map/unmap guest's memory into our kernel VM space.
This will be used by the block and network back-end.
The caller provide a list of machine address pages, and we return the
address virtual address they've been mapped to. These mapping are not
registered to the pmap (we don't have physical addresses for these pages),
so change bus_dma(9) to handle these mappings as well.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1.2.1 src/sys/arch/xen/i386/xen_shm_machdep.c
cvs rdiff -r0 -r1.1.2.1 src/sys/arch/xen/include/xen_shm.h
cvs rdiff -r1.1.2.1 -r1.1.2.2 src/sys/arch/xen/x86/bus_dma.c

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