X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_proc.h;h=fca6edef6abf100c97d7ffc8d86bbff7b8a2e1a3;hb=39e200e1f43474a96888f97e2271728c9605ccbe;hp=4d26b4272cfe1252c8524cb3c0a7a521417a5acd;hpb=d9d931610bca1df6ceb9227eacc9ff2c7f89b77a;p=bertos.git diff --git a/bertos/cfg/cfg_proc.h b/bertos/cfg/cfg_proc.h index 4d26b427..fca6edef 100644 --- a/bertos/cfg/cfg_proc.h +++ b/bertos/cfg/cfg_proc.h @@ -32,7 +32,6 @@ * * \brief Kernel configuration parameters * - * \version $Id$ * \author Bernie Innocenti */ @@ -54,40 +53,46 @@ #define CONFIG_KERN_IRQ 0 /** - * Dynamic memory allocation for processes. + * Preemptive process scheduling. + * * $WIZ$ type = "boolean" - * $WIZ$ conditional_deps = "heap" + * $WIZ$ conditional_deps = "timer" */ -#define CONFIG_KERN_HEAP 0 +#define CONFIG_KERN_PREEMPT 0 /** - * Size of the dynamic memory pool used by processes. + * Time sharing quantum (a prime number prevents interference effects) [ms]. + * * $WIZ$ type = "int" - * $WIZ$ min = 0 + * $WIZ$ min = 1 */ -#define CONFIG_KERN_HEAP_SIZE 8192L +#define CONFIG_KERN_QUANTUM 11 /** - * Preemptive process scheduling. - * + * Priority-based scheduling policy. * $WIZ$ type = "boolean" - * $WIZ$ conditional_deps = "timer" */ -#define CONFIG_KERN_PREEMPT 0 +#define CONFIG_KERN_PRI 0 /** - * Priority-based scheduling policy. + * Priority-inheritance protocol. * $WIZ$ type = "boolean" */ -#define CONFIG_KERN_PRI 0 +#define CONFIG_KERN_PRI_INHERIT 0 /** - * Time sharing quantum (a prime number prevents interference effects) [ms]. - * + * Dynamic memory allocation for processes. + * $WIZ$ type = "boolean" + * $WIZ$ conditional_deps = "heap" + */ +#define CONFIG_KERN_HEAP 0 + +/** + * Size of the dynamic memory pool used by processes. * $WIZ$ type = "int" - * $WIZ$ min = 1 + * $WIZ$ min = 0 */ -#define CONFIG_KERN_QUANTUM 11 +#define CONFIG_KERN_HEAP_SIZE 2048L /** * Module logging level.