From 853730f7faa8f59795e8e0e811864deae279314f Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 18 Mar 2012 17:07:37 +0100 Subject: Set Xen kernel virtual address to 0xC0000000 That makes the virtual addressing equal to linear addressing, thus optimizing some computations away. * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS) [MACH_XEN]: Set to 0xC0000000UL. * i386/xen/Makefrag.am (gnumach_LINKFLAGS): Set _START to 0xC0000000. * i386/xen/xen_boothdr.S (VIRT_BASE, ELF_PADDR_OFFSET): Set to 0xC0000000. --- i386/xen/xen_boothdr.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i386/xen/xen_boothdr.S') diff --git a/i386/xen/xen_boothdr.S b/i386/xen/xen_boothdr.S index 152924d..eacf0d8 100644 --- a/i386/xen/xen_boothdr.S +++ b/i386/xen/xen_boothdr.S @@ -22,8 +22,8 @@ .ascii "GUEST_OS=GNU Mach" .ascii ",GUEST_VERSION=1.3" .ascii ",XEN_VER=xen-3.0" - .ascii ",VIRT_BASE=0x20000000" - .ascii ",ELF_PADDR_OFFSET=0x20000000" + .ascii ",VIRT_BASE=0xC0000000" + .ascii ",ELF_PADDR_OFFSET=0xC0000000" .ascii ",HYPERCALL_PAGE=0x2" #if PAE .ascii ",PAE=yes[extended-cr3]" -- cgit v1.2.3