summaryrefslogtreecommitdiff
path: root/i386/xen/xen_boothdr.S
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-18 17:07:37 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-03-18 17:07:37 +0100
commit853730f7faa8f59795e8e0e811864deae279314f (patch)
treec2377ea2e408f7a64baf037e2880408d5f0095a0 /i386/xen/xen_boothdr.S
parentef34957f80c8b973a064cb677d6d29a65711ca6b (diff)
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.
Diffstat (limited to 'i386/xen/xen_boothdr.S')
-rw-r--r--i386/xen/xen_boothdr.S4
1 files changed, 2 insertions, 2 deletions
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]"