X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fdemo%2Fcfg%2Fcfg_proc.h;h=d8531cdf7d47776026f4c7d7d1a19e259d514f31;hb=171251d9de4ef383f9f0feb622da3863076b1fc6;hp=745634da3a217fcb0e96da98db50c7b8533236b0;hpb=44850320cfcd4eac56531d427d27e1f6a4e27b47;p=bertos.git diff --git a/examples/demo/cfg/cfg_proc.h b/examples/demo/cfg/cfg_proc.h index 745634da..d8531cdf 100644 --- a/examples/demo/cfg/cfg_proc.h +++ b/examples/demo/cfg/cfg_proc.h @@ -47,36 +47,45 @@ #define CONFIG_KERN 1 /** - * Kernel interrupt supervisor. + * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! * $WIZ$ type = "boolean" + * $WIZ$ supports = "False" */ #define CONFIG_KERN_IRQ 0 /** * Dynamic memory allocation for processes. - * * $WIZ$ type = "boolean" + * $WIZ$ conditional_deps = "heap" + */ +#define CONFIG_KERN_HEAP 1 + +/** + * Size of the dynamic memory pool used by processes. + * $WIZ$ type = "int" + * $WIZ$ min = 0 */ -#define CONFIG_KERN_HEAP 0 +#define CONFIG_KERN_HEAP_SIZE 2097152L /** - * Preemptive process scheduling. WARNING: Experimental, still incomplete! + * Preemptive process scheduling. * * $WIZ$ type = "boolean" + * $WIZ$ conditional_deps = "timer", "idle" */ -#define CONFIG_KERN_PREEMPT 0 +#define CONFIG_KERN_PREEMPT 1 /** * Priority-based scheduling policy. * $WIZ$ type = "boolean" */ -#define CONFIG_KERN_PRI 0 +#define CONFIG_KERN_PRI 1 /** * Time sharing quantum (a prime number prevents interference effects) [ms]. * * $WIZ$ type = "int" - * $WIZ$ min = "0" + * $WIZ$ min = 1 */ #define CONFIG_KERN_QUANTUM 47