Subject: CVS commit: src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Christian Limpach <cl@netbsd.org>
List: source-changes
Date: 04/26/2004 22:05:05
Module Name:	src
Committed By:	cl
Date:		Mon Apr 26 22:05:05 UTC 2004

Modified Files:
	src/sys/arch/xen/i386: locore.S machdep.c pmap.c xen_machdep.c
	src/sys/arch/xen/include: cpu.h hypervisor.h xenpmap.h
	src/sys/arch/xen/x86: bus_space.c
	src/sys/arch/xen/xen: if_xennet.c xbd.c

Log Message:
Rework the physical<->machine memory mapping:  offset physical addresses
by 0x100000 (above the I/O Memory "hole") leaving all physical addresses
below unused, don't perform phys<->mach mapping for addresses below 0x100000
or beyond the real hardware's physical memory.

-> /dev/mem works now as expected and X works in domain0.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/xen/i386/locore.S \
    src/sys/arch/xen/i386/pmap.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/xen/i386/machdep.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/xen/i386/xen_machdep.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/xen/include/cpu.h
cvs rdiff -r1.6 -r1.7 src/sys/arch/xen/include/hypervisor.h
cvs rdiff -r1.2 -r1.3 src/sys/arch/xen/include/xenpmap.h
cvs rdiff -r1.1 -r1.2 src/sys/arch/xen/x86/bus_space.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/xen/xen/if_xennet.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/xen/xen/xbd.c

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