diff options
Diffstat (limited to 'x86_64/Makefrag.am')
-rw-r--r-- | x86_64/Makefrag.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/x86_64/Makefrag.am b/x86_64/Makefrag.am index 03b1eca7..d3735890 100644 --- a/x86_64/Makefrag.am +++ b/x86_64/Makefrag.am @@ -186,12 +186,12 @@ include_mach_x86_64_HEADERS = \ # if PLATFORM_at -# This should probably be 0xffffffff80000000 for mcmodel=kernel, but let's try -# to stay in the first 8G first, otherwise we have to fix the pmap module to -# actually use the l4 page level -#KERNEL_MAP_BASE=0x100000000 -# but for nor try with < 4G, otherwise we have linker errors -KERNEL_MAP_BASE=0x40000000 +# 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) \ |