X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_proc.h;h=3c9439fb0b002097067e74d87e98ffb16ea57e89;hb=d7a12b736e49a6df0ed3d045719eac8bc0e43b10;hp=1cd5a191a10de59d5c7f4aad1019d9d0b15c453a;hpb=32d1445272120a254d77ce8d1af1f527da7a2c17;p=bertos.git diff --git a/bertos/cfg/cfg_proc.h b/bertos/cfg/cfg_proc.h index 1cd5a191..3c9439fb 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,20 +53,20 @@ #define CONFIG_KERN_IRQ 0 /** - * Dynamic memory allocation for processes. + * Preemptive process scheduling. * * $WIZ$ type = "boolean" - * $WIZ$ supports = "False" + * $WIZ$ conditional_deps = "timer" */ -#define CONFIG_KERN_HEAP 0 +#define CONFIG_KERN_PREEMPT 0 /** - * Preemptive process scheduling. + * Time sharing quantum (a prime number prevents interference effects) [ms]. * - * $WIZ$ type = "boolean" - * $WIZ$ conditional_deps = "timer", "idle" + * $WIZ$ type = "int" + * $WIZ$ min = 1 */ -#define CONFIG_KERN_PREEMPT 0 +#define CONFIG_KERN_QUANTUM 11 /** * Priority-based scheduling policy. @@ -76,13 +75,18 @@ #define CONFIG_KERN_PRI 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$ supports = "False" + * $WIZ$ min = 0 */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_HEAP_SIZE 2048L /** * Module logging level.