lkl: drop LKL_MEMORY_START and LKL_TASK_UNMAPPED_BASE autoconf

The LKL_MEMORY_START=0x50000000 and LKL_TASK_UNMAPPED_BASE=0x100000
kernel config values set in Makefile.autoconf match the arch/lkl/Kconfig
defaults, so avoid explicitly setting them.

The corresponding LKL_HOST_CONFIG_LKL_MEMORY_START/_TASK_UNMAPPED_BASE
lkl_autoconf.h consts appear to be unused, so also drop them for now.

Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
David Disseldorp
2025-06-10 11:03:20 +10:00
parent cb5a9cf01c
commit 62514fe7a0

View File

@@ -248,11 +248,6 @@ endef
define do_autoconf_mmu
$(call set_autoconf_var,MMU,y)
$(call set_kernel_config,MMU,y)
# Explicitly set LKL MMU configuration parameters for Kconfig
$(call set_autoconf_var,LKL_MEMORY_START,0x50000000)
$(call set_kernel_config,LKL_MEMORY_START,0x50000000)
$(call set_autoconf_var,LKL_TASK_UNMAPPED_BASE,0x100000)
$(call set_kernel_config,LKL_TASK_UNMAPPED_BASE,0x100000)
# Don't need swap in LKL. CONFIG_SHMEM generates a compile-time assertion
# when build with gcc, however, works fine with clang. The issues is in macro
# HPAGE_PMD_SIZE which should be optimized out but is not in case of gcc.