414250d013
The current memory mapped stack code requires actual physical addresses for stacks, and cannot deal with stacks already using virtual addresses. So disable mapped stack via defconfig. Note that this is done before enabling memory mapped stacks on x86 so test won't fail when the support in the architecture code is introduced. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
29 lines
747 B
Plaintext
29 lines
747 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (c) 2019 Intel Corp.
|
|
|
|
CONFIG_PIC_DISABLE=y
|
|
CONFIG_LOAPIC=y
|
|
CONFIG_CONSOLE=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_CONSOLE=y
|
|
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=25000000
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
CONFIG_X86_MMU=y
|
|
CONFIG_DEBUG_INFO=y
|
|
CONFIG_SCHED_SCALABLE=y
|
|
CONFIG_WAITQ_SCALABLE=y
|
|
CONFIG_X86_VERY_EARLY_CONSOLE=y
|
|
CONFIG_SRAM_OFFSET=0x100000
|
|
CONFIG_KERNEL_VM_SIZE=0x400000
|
|
CONFIG_KERNEL_VM_BASE=0x40000000
|
|
CONFIG_KERNEL_VM_OFFSET=0
|
|
|
|
CONFIG_LINKER_USE_BOOT_SECTION=y
|
|
CONFIG_LINKER_USE_PINNED_SECTION=y
|
|
|
|
# For now, the mapped stacks require physical addresses
|
|
# and cannot deal with mapping a stack with virtual
|
|
# address. So make sure memory mapped stack is not
|
|
# enabled.
|
|
CONFIG_THREAD_STACK_MEM_MAPPED=n
|