Subject: CVS commit: [bouyer-xen2] src/sys/arch/xen
To: None <>
From: Manuel Bouyer <>
List: source-changes
Date: 03/09/2005 16:23:50
Module Name:	src
Committed By:	bouyer
Date:		Wed Mar  9 16:23:50 UTC 2005

Modified Files:
	src/sys/arch/xen/i386 [bouyer-xen2]: pmap.c
	src/sys/arch/xen/include [bouyer-xen2]: pmap.h
	src/sys/arch/xen/x86 [bouyer-xen2]: bus_space.c

Log Message:
bus_space_map/unmap() should map machine addresses, not physical addresses,
for memory-mapped I/O. So use pmap_kenter_ma() instead of pmap_kenter_pa(),
and introduce pmap_extract_ma() to get the machine address of a mapping.
Now memory-mapped I/O should work outside of the ISA hole (note that PCI
devices are usually mapped in the ISA memory hole anyway).

To generate a diff of this commit:
cvs rdiff -r1.6.6.6 -r1.6.6.7 src/sys/arch/xen/i386/pmap.c
cvs rdiff -r1.3.6.4 -r1.3.6.5 src/sys/arch/xen/include/pmap.h
cvs rdiff -r1.2.8.1 -r1.2.8.2 src/sys/arch/xen/x86/bus_space.c

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