summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/Makefrag.am2
-rw-r--r--i386/i386/vm_param.h7
2 files changed, 4 insertions, 5 deletions
diff --git a/i386/Makefrag.am b/i386/Makefrag.am
index ea5149f..62ac61e 100644
--- a/i386/Makefrag.am
+++ b/i386/Makefrag.am
@@ -199,7 +199,7 @@ EXTRA_DIST += \
i386/ldscript
if PLATFORM_at
gnumach_LINKFLAGS += \
- --defsym _START=0x100000 \
+ --defsym _START=0xC0100000 \
--defsym _START_MAP=0x100000 \
-T '$(srcdir)'/i386/ldscript
endif
diff --git a/i386/i386/vm_param.h b/i386/i386/vm_param.h
index 2bcd084..ada3563 100644
--- a/i386/i386/vm_param.h
+++ b/i386/i386/vm_param.h
@@ -35,10 +35,9 @@
#define INIT_VM_MIN_KERNEL_ADDRESS VM_MIN_KERNEL_ADDRESS
#else /* MACH_XEN */
/* This can be changed freely to separate kernel addresses from user addresses
- * for better trace support in kdb, but make sure that your machine has that
- * much physical memory for GRUB to be able to map it, and offset the _START
- * symbol by the same amount. */
-#define VM_MIN_KERNEL_ADDRESS 0x00000000UL
+ * for better trace support in kdb; the _START symbol has to be offset by the
+ * same amount. */
+#define VM_MIN_KERNEL_ADDRESS 0xC0000000UL
/* This must remain 0 */
#define INIT_VM_MIN_KERNEL_ADDRESS 0x00000000UL
#endif /* MACH_XEN */