summaryrefslogtreecommitdiff
path: root/i386/xen/Makefrag.am
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/Makefrag.am
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/Makefrag.am')
-rw-r--r--i386/xen/Makefrag.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/xen/Makefrag.am b/i386/xen/Makefrag.am
index b15b7db..02e3e12 100644
--- a/i386/xen/Makefrag.am
+++ b/i386/xen/Makefrag.am
@@ -28,6 +28,6 @@ libkernel_a_SOURCES += \
if PLATFORM_xen
gnumach_LINKFLAGS += \
- --defsym _START=0x20000000 \
+ --defsym _START=0xC0000000 \
-T '$(srcdir)'/i386/ldscript
endif