From 0083ae1b2c20aea85a91340493276a81f3c1f6ac Mon Sep 17 00:00:00 2001 From: p-szafonimateusz Date: Fri, 28 Jun 2024 18:33:34 +0200 Subject: [PATCH] boards/qemu-intel64: simplify STACKSIZE configuration simplify STACKSIZE configuration by using CONFIG_DEFAULT_TASK_STACKSIZE Signed-off-by: p-szafonimateusz --- boards/x86_64/intel64/qemu-intel64/configs/earlyfb/defconfig | 4 +--- boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig | 4 +--- boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig | 4 +--- boards/x86_64/intel64/qemu-intel64/configs/pcitest/defconfig | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/boards/x86_64/intel64/qemu-intel64/configs/earlyfb/defconfig b/boards/x86_64/intel64/qemu-intel64/configs/earlyfb/defconfig index 7b23a3c833..c72dac96fa 100644 --- a/boards/x86_64/intel64/qemu-intel64/configs/earlyfb/defconfig +++ b/boards/x86_64/intel64/qemu-intel64/configs/earlyfb/defconfig @@ -24,12 +24,11 @@ CONFIG_DEBUG_PCI_ERROR=y CONFIG_DEBUG_PCI_INFO=y CONFIG_DEBUG_PCI_WARN=y CONFIG_DEBUG_SYMBOLS=y +CONFIG_DEFAULT_TASK_STACKSIZE=4194304 CONFIG_EXAMPLES_HELLO=y -CONFIG_EXAMPLES_HELLO_STACKSIZE=4194304 CONFIG_FS_PROCFS=y CONFIG_IDLETHREAD_STACKSIZE=4194304 CONFIG_INIT_ENTRYPOINT="nsh_main" -CONFIG_INIT_STACKSIZE=4194304 CONFIG_LIBM=y CONFIG_MULTBOOT2_FB_TERM=y CONFIG_NSH_ARCHINIT=y @@ -42,7 +41,6 @@ CONFIG_NXFONT_MONO5X8=y CONFIG_PREALLOC_CHILDSTATUS=16 CONFIG_PRIORITY_INHERITANCE=y CONFIG_PTHREAD_MUTEX_TYPES=y -CONFIG_PTHREAD_STACK_DEFAULT=4194304 CONFIG_PTHREAD_STACK_MIN=4194304 CONFIG_RAM_SIZE=268435456 CONFIG_SCHED_CHILD_STATUS=y diff --git a/boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig b/boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig index e487c9031d..b1e799c472 100644 --- a/boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig +++ b/boards/x86_64/intel64/qemu-intel64/configs/nsh/defconfig @@ -27,12 +27,11 @@ CONFIG_BOOT_RUNFROMEXTSRAM=y CONFIG_BUILTIN=y CONFIG_CONSOLE_SYSLOG=y CONFIG_DEBUG_SYMBOLS=y +CONFIG_DEFAULT_TASK_STACKSIZE=4194304 CONFIG_EXAMPLES_HELLO=y -CONFIG_EXAMPLES_HELLO_STACKSIZE=4194304 CONFIG_FS_PROCFS=y CONFIG_IDLETHREAD_STACKSIZE=4194304 CONFIG_INIT_ENTRYPOINT="nsh_main" -CONFIG_INIT_STACKSIZE=4194304 CONFIG_LIBM=y CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y @@ -42,7 +41,6 @@ CONFIG_PREALLOC_CHILDSTATUS=16 CONFIG_PRIORITY_INHERITANCE=y CONFIG_PTHREAD_MUTEX_DEFAULT_PRIO_INHERIT=y CONFIG_PTHREAD_MUTEX_TYPES=y -CONFIG_PTHREAD_STACK_DEFAULT=4194304 CONFIG_PTHREAD_STACK_MIN=4194304 CONFIG_RAM_SIZE=268435456 CONFIG_SCHED_CHILD_STATUS=y diff --git a/boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig b/boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig index c6ca8f3d85..f2bbf3d71f 100644 --- a/boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig +++ b/boards/x86_64/intel64/qemu-intel64/configs/ostest/defconfig @@ -27,15 +27,14 @@ CONFIG_BOOT_RUNFROMEXTSRAM=y CONFIG_CONSOLE_SYSLOG=y CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y +CONFIG_DEFAULT_TASK_STACKSIZE=4194304 CONFIG_IDLETHREAD_STACKSIZE=4194304 CONFIG_INIT_ENTRYPOINT="ostest_main" -CONFIG_INIT_STACKSIZE=4194304 CONFIG_LIBM=y CONFIG_PREALLOC_CHILDSTATUS=16 CONFIG_PRIORITY_INHERITANCE=y CONFIG_PTHREAD_MUTEX_DEFAULT_PRIO_INHERIT=y CONFIG_PTHREAD_MUTEX_TYPES=y -CONFIG_PTHREAD_STACK_DEFAULT=4194304 CONFIG_PTHREAD_STACK_MIN=4194304 CONFIG_RAM_SIZE=268435456 CONFIG_SCHED_CHILD_STATUS=y @@ -50,5 +49,4 @@ CONFIG_START_MONTH=3 CONFIG_START_YEAR=2011 CONFIG_SYSTEM_TIME64=y CONFIG_TESTING_OSTEST=y -CONFIG_TESTING_OSTEST_STACKSIZE=4194304 CONFIG_USEC_PER_TICK=1 diff --git a/boards/x86_64/intel64/qemu-intel64/configs/pcitest/defconfig b/boards/x86_64/intel64/qemu-intel64/configs/pcitest/defconfig index 5f2c44e58a..13527e6104 100644 --- a/boards/x86_64/intel64/qemu-intel64/configs/pcitest/defconfig +++ b/boards/x86_64/intel64/qemu-intel64/configs/pcitest/defconfig @@ -32,12 +32,11 @@ CONFIG_DEBUG_PCI_ERROR=y CONFIG_DEBUG_PCI_INFO=y CONFIG_DEBUG_PCI_WARN=y CONFIG_DEBUG_SYMBOLS=y +CONFIG_DEFAULT_TASK_STACKSIZE=4194304 CONFIG_EXAMPLES_HELLO=y -CONFIG_EXAMPLES_HELLO_STACKSIZE=4194304 CONFIG_FS_PROCFS=y CONFIG_IDLETHREAD_STACKSIZE=4194304 CONFIG_INIT_ENTRYPOINT="nsh_main" -CONFIG_INIT_STACKSIZE=4194304 CONFIG_LIBM=y CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y @@ -47,7 +46,6 @@ CONFIG_NSH_READLINE=y CONFIG_PREALLOC_CHILDSTATUS=16 CONFIG_PRIORITY_INHERITANCE=y CONFIG_PTHREAD_MUTEX_TYPES=y -CONFIG_PTHREAD_STACK_DEFAULT=4194304 CONFIG_PTHREAD_STACK_MIN=4194304 CONFIG_RAM_SIZE=268435456 CONFIG_SCHED_CHILD_STATUS=y