Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 10/17/2006 18:53:04
Module Name: src
Committed By: bouyer
Date: Tue Oct 17 18:53:04 UTC 2006
Modified Files:
src/sys/arch/i386/conf: INSTALL_XEN3_DOMU XEN3_DOMU
src/sys/arch/xen/conf: files.xen
src/sys/arch/xen/i386: locore.S
src/sys/arch/xen/include: xenpmap.h
Log Message:
Add ELF_PADDR_OFFSET and VIRT_ENTRY strings to __xen_guest ELF section,
so that our kernels works with newer xen-3 hypervisors; and correct the value
of VIRT_BASE for dom0.
Now that we can embed the values of KERNBASE and KERNTEXTOFF in the binary
for Xen, make the domU memory layout the same as dom0 for Xen3 (making
it the other way round doens't work; probably because of alignement
constraints in the hypervisor). The old domU layout is used if options
XEN_COMPAT_030001 is present in the kernel config file. Enable this the
domU kernel config files for now, in case someone wants to run a NetBSD
domU on an older Xen3 installation.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/i386/conf/INSTALL_XEN3_DOMU
cvs rdiff -r1.5 -r1.6 src/sys/arch/i386/conf/XEN3_DOMU
cvs rdiff -r1.50 -r1.51 src/sys/arch/xen/conf/files.xen
cvs rdiff -r1.19 -r1.20 src/sys/arch/xen/i386/locore.S
cvs rdiff -r1.14 -r1.15 src/sys/arch/xen/include/xenpmap.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.