Module: xenomai-head Branch: master Commit: 4de22028e99fa32f927447b4b848cc7a5e0d6bfb URL: http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=4de22028e99fa32f927447b4b848cc7a5e0d6bfb
Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org> Date: Thu Oct 13 23:26:42 2011 +0200 nucleus: change default configuration Enable watchdog and support for the select service by default, disable debugging options which have an influence on timings. --- ksrc/nucleus/Kconfig | 23 ++++++++++++----------- ksrc/skins/posix/Kconfig | 5 +++-- ksrc/skins/rtdm/Kconfig | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/ksrc/nucleus/Kconfig b/ksrc/nucleus/Kconfig index 50a4f49..8dad034 100644 --- a/ksrc/nucleus/Kconfig +++ b/ksrc/nucleus/Kconfig @@ -56,7 +56,7 @@ config XENO_OPT_PIPELINE_HEAD bool "Optimize as pipeline head" default y help - + This option causes Xenomai to declare itself as always leading the interrupt pipeline, which in turn allows Adeos to optimize for faster interrupt delivery and stall/unstall operations. @@ -185,7 +185,7 @@ config XENO_OPT_SYS_HEAPSZ Kilobytes. config XENO_OPT_SYS_STACKPOOLSZ - depends on XENO_GENERIC_STACKPOOL + depends on XENO_GENERIC_STACKPOOL int "Size of the private stack pool (Kb)" default 128 help @@ -199,20 +199,20 @@ config XENO_OPT_SYS_STACKPOOLSZ if !XENO_GENERIC_STACKPOOL config XENO_OPT_SYS_STACKPOOLSZ - int + int default 0 -endif +endif config XENO_OPT_SEM_HEAPSZ int "Size of private semaphores heap (Kb)" default 12 help - Xenomai implementation of user-space semaphores relies on heaps + Xenomai implementation of user-space semaphores relies on heaps shared between kernel and user-space. This configuration entry allow to set the size of the heap used for private semaphores. - Note that each semaphore will allocate 4 bytes on 32 bits + Note that each semaphore will allocate 4 bytes on 32 bits architectures or 8 bytes on 64 bits architectures of memory, so, the default of 12 Kb allows creating many semaphores. @@ -221,12 +221,12 @@ config XENO_OPT_GLOBAL_SEM_HEAPSZ default 12 help - Xenomai implementation of user-space semaphores relies on heaps + Xenomai implementation of user-space semaphores relies on heaps shared between kernel and user-space. This configuration entry - allow to set the size of the heap used for semaphores shared + allow to set the size of the heap used for semaphores shared between several processes. - Note that each semaphore will allocate 4 bytes on 32 bits + Note that each semaphore will allocate 4 bytes on 32 bits architectures or 8 bytes on 64 bits architectures of memory, so, the default of 12 Kb allows creating many semaphores. @@ -242,6 +242,7 @@ config XENO_OPT_STATS config XENO_OPT_DEBUG bool "Debug support" + default y help When enabled, various debugging features can be switched on. They @@ -468,7 +469,7 @@ config XENO_OPT_TIMER_WHEEL help Use a hash table. Timers operations using this data structure - should have an O(1) complexity if the timers follow two + should have an O(1) complexity if the timers follow two conditions: - timers expiration dates do not collide too much; - there is at least one periodic timer using a period near @@ -490,7 +491,7 @@ config XENO_OPT_TIMER_WHEEL_STEP default 100000 help - Set the duration in ns of a timer wheel step. At each step, + Set the duration in ns of a timer wheel step. At each step, the timer wheel use the next hash bucket. endmenu diff --git a/ksrc/skins/posix/Kconfig b/ksrc/skins/posix/Kconfig index e260bf9..201f26f 100644 --- a/ksrc/skins/posix/Kconfig +++ b/ksrc/skins/posix/Kconfig @@ -1,5 +1,5 @@ menuconfig XENO_SKIN_POSIX - depends on XENO_OPT_NUCLEUS + depends on XENO_OPT_NUCLEUS tristate "POSIX API" default y help @@ -56,6 +56,7 @@ config XENO_OPT_POSIX_SELECT bool "Select syscall" select XENO_OPT_SELECT depends on XENO_SKIN_POSIX != y || XENO_SKIN_RTDM != m + default y help This option allows applications using the Xenomai POSIX skin in @@ -64,7 +65,7 @@ config XENO_OPT_POSIX_SELECT config XENO_OPT_DEBUG_POSIX bool "Debugging support" - default n + default y help When enabled, this option makes the skin warn about not properly diff --git a/ksrc/skins/rtdm/Kconfig b/ksrc/skins/rtdm/Kconfig index f0741d6..9f23263 100644 --- a/ksrc/skins/rtdm/Kconfig +++ b/ksrc/skins/rtdm/Kconfig @@ -40,6 +40,7 @@ config XENO_OPT_RTDM_FILDES config XENO_OPT_RTDM_SELECT bool "Select support for RTDM file descriptors" select XENO_OPT_SELECT + default y help This option allows RTDM-based file descriptors to be used with @@ -48,7 +49,6 @@ config XENO_OPT_RTDM_SELECT config XENO_OPT_DEBUG_RTDM bool "RTDM debugging support" depends on XENO_OPT_DEBUG - default y help This option activates debugging checks for the RTDM subsystem. _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git