kernel: kconfig: reorg kernel Kconfig a bit
Move INIT_STACK to debug options and give POSIX layer its own menu. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
ee9bebf7d0
commit
8470b4d365
1 changed files with 16 additions and 15 deletions
|
@ -170,6 +170,17 @@ config APPLICATION_MEMORY
|
||||||
including the C library in it.
|
including the C library in it.
|
||||||
|
|
||||||
menu "Kernel Debugging and Metrics"
|
menu "Kernel Debugging and Metrics"
|
||||||
|
|
||||||
|
config INIT_STACKS
|
||||||
|
bool
|
||||||
|
prompt "Initialize stack areas"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This option instructs the kernel to initialize stack areas with a
|
||||||
|
known value (0xaa) before they are first used, so that the high
|
||||||
|
water mark can be easily determined. This applies to the stack areas
|
||||||
|
for threads.
|
||||||
|
|
||||||
config KERNEL_DEBUG
|
config KERNEL_DEBUG
|
||||||
bool
|
bool
|
||||||
prompt "Kernel debugging"
|
prompt "Kernel debugging"
|
||||||
|
@ -323,7 +334,7 @@ config TIMESLICE_PRIORITY
|
||||||
|
|
||||||
config POLL
|
config POLL
|
||||||
bool
|
bool
|
||||||
prompt "async I/O framework"
|
prompt "Async I/O Framework"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Asynchronous notification framework. Enable the k_poll() and
|
Asynchronous notification framework. Enable the k_poll() and
|
||||||
|
@ -357,9 +368,6 @@ config NUM_PIPE_ASYNC_MSGS
|
||||||
Setting this option to 0 disables support for asynchronous
|
Setting this option to 0 disables support for asynchronous
|
||||||
pipe messages.
|
pipe messages.
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
menu "Memory Pool Options"
|
|
||||||
config HEAP_MEM_POOL_SIZE
|
config HEAP_MEM_POOL_SIZE
|
||||||
int
|
int
|
||||||
prompt "Heap memory pool size (in bytes)"
|
prompt "Heap memory pool size (in bytes)"
|
||||||
|
@ -371,7 +379,6 @@ config HEAP_MEM_POOL_SIZE
|
||||||
heap memory pool is defined.
|
heap memory pool is defined.
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
||||||
config ARCH_HAS_CUSTOM_SWAP_TO_MAIN
|
config ARCH_HAS_CUSTOM_SWAP_TO_MAIN
|
||||||
bool
|
bool
|
||||||
# hidden
|
# hidden
|
||||||
|
@ -431,16 +438,6 @@ config SYS_CLOCK_EXISTS
|
||||||
help
|
help
|
||||||
This option specifies that the kernel lacks timer support.
|
This option specifies that the kernel lacks timer support.
|
||||||
|
|
||||||
config INIT_STACKS
|
|
||||||
bool
|
|
||||||
prompt "Initialize stack areas"
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
This option instructs the kernel to initialize stack areas with a
|
|
||||||
known value (0xaa) before they are first used, so that the high
|
|
||||||
water mark can be easily determined. This applies to the stack areas
|
|
||||||
for threads.
|
|
||||||
|
|
||||||
config XIP
|
config XIP
|
||||||
bool
|
bool
|
||||||
prompt "Execute in place"
|
prompt "Execute in place"
|
||||||
|
@ -486,6 +483,10 @@ config APPLICATION_INIT_PRIORITY
|
||||||
This priority level is for end-user drivers such as sensors and display
|
This priority level is for end-user drivers such as sensors and display
|
||||||
which have no inward dependencies.
|
which have no inward dependencies.
|
||||||
|
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
menu "POSIX Layer"
|
||||||
config PTHREAD_IPC
|
config PTHREAD_IPC
|
||||||
bool
|
bool
|
||||||
prompt "POSIX pthread IPC API"
|
prompt "POSIX pthread IPC API"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue