aboutsummaryrefslogtreecommitdiff
path: root/x86_64/Makefrag.am
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-26 02:38:59 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-26 02:46:59 +0200
commit9a8e6290eb6db52b3aa19cad522880d22807ed65 (patch)
tree5b29b214b633f1e33a5d0ee12500e06919337f53 /x86_64/Makefrag.am
parentf7e039d23dd7ed50a4af53fa63ee322e7e4b386c (diff)
downloadgnumach-9a8e6290eb6db52b3aa19cad522880d22807ed65.tar.gz
gnumach-9a8e6290eb6db52b3aa19cad522880d22807ed65.tar.bz2
gnumach-9a8e6290eb6db52b3aa19cad522880d22807ed65.zip
Xen 64bit: Also put kernel at end of addressing space
Diffstat (limited to 'x86_64/Makefrag.am')
-rw-r--r--x86_64/Makefrag.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/x86_64/Makefrag.am b/x86_64/Makefrag.am
index 7e0ef25b..008ac58f 100644
--- a/x86_64/Makefrag.am
+++ b/x86_64/Makefrag.am
@@ -202,13 +202,14 @@ endif
# Platform specific parts.
#
+KERNEL_MAP_BASE=0xffffffff80000000
+
if PLATFORM_at
# For now simply keep all the kernel virtual space in the last 2G.
# We could use a more elaborate schema if needed (e.g. reserving a
# larger area for directmap or the kernel heap)), I think only the
# test/bss/data sections need to be placed here kere because of
# -mcmodel=kernel
-KERNEL_MAP_BASE=0xffffffff80000000
gnumach_LINKFLAGS += \
--defsym _START_MAP=$(_START_MAP) \
--defsym _START=$(_START_MAP) \
@@ -221,8 +222,6 @@ AM_CCASFLAGS += \
endif
if PLATFORM_xen
-KERNEL_MAP_BASE=0x40000000
-
libkernel_a_SOURCES += \
x86_64/xen_locore.S \
x86_64/xen_boothdr.S \