Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/i386/i386/locore.S,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/i386/i386/locore.S,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.100 retrieving revision 1.102 diff -u -p -r1.100 -r1.102 --- src/sys/arch/i386/i386/locore.S 2012/06/16 17:30:19 1.100 +++ src/sys/arch/i386/i386/locore.S 2012/09/01 23:19:46 1.102 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.100 2012/06/16 17:30:19 chs Exp $ */ +/* $NetBSD: locore.S,v 1.102 2012/09/01 23:19:46 cherry Exp $ */ /* * Copyright-o-rama! @@ -129,7 +129,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.100 2012/06/16 17:30:19 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.102 2012/09/01 23:19:46 cherry Exp $"); #include "opt_compat_oldboot.h" #include "opt_ddb.h" @@ -169,18 +169,11 @@ __KERNEL_RCSID(0, "$NetBSD: locore.S,v 1 */ .section __xen_guest .ascii "GUEST_OS=netbsd,GUEST_VER=3.0,XEN_VER=xen-3.0" -#if defined(DOM0OPS) || !defined(XEN_COMPAT_030001) .ascii ",VIRT_BASE=0xc0000000" /* KERNBASE */ .ascii ",ELF_PADDR_OFFSET=0xc0000000" /* KERNBASE */ -#else - .ascii ",VIRT_BASE=0xc0100000" /* KERNTEXTOFF */ - .ascii ",ELF_PADDR_OFFSET=0xc0100000" /* KERNTEXTOFF */ -#endif .ascii ",VIRT_ENTRY=0xc0100000" /* KERNTEXTOFF */ -#if !defined(XEN_COMPAT_030001) .ascii ",HYPERCALL_PAGE=0x00000101" /* (???+HYPERCALL_PAGE_OFFSET)/PAGE_SIZE) */ -#endif #ifdef PAE .ascii ",PAE=yes[extended-cr3]" #endif @@ -240,10 +233,10 @@ _C_LABEL(tablesize): .long 0 tmpstk: #ifdef XEN .align PAGE_SIZE, 0x0 # Align on page boundary + .globl tmpgdt _C_LABEL(tmpgdt): .space PAGE_SIZE # Xen expects a page #endif /* XEN */ - .globl tmpgdt #ifndef XEN #define _RELOC(x) ((x) - KERNBASE) #else @@ -824,13 +817,13 @@ start: addl $PDE_SIZE,%esp # pop paddr_t call _C_LABEL(main) -#if defined(XEN) && !defined(XEN_COMPAT_030001) +#if defined(XEN) /* space for the hypercall call page */ #define HYPERCALL_PAGE_OFFSET 0x1000 .org HYPERCALL_PAGE_OFFSET ENTRY(hypercall_page) .skip 0x1000 -#endif /* defined(XEN) && !defined(XEN_COMPAT_030001) */ +#endif /* defined(XEN) */ /* * void lgdt_finish(void);