From 166b28ff378fba3466d171ee0b7b3c7c56f745dc Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 22 Mar 2010 16:13:13 +0000 Subject: [PATCH] Rearrange kernel configurations order. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3255 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_proc.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/bertos/cfg/cfg_proc.h b/bertos/cfg/cfg_proc.h index 4d26b427..4a1deb29 100644 --- a/bertos/cfg/cfg_proc.h +++ b/bertos/cfg/cfg_proc.h @@ -54,40 +54,40 @@ #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. + * Dynamic memory allocation for processes. * $WIZ$ type = "boolean" + * $WIZ$ conditional_deps = "heap" */ -#define CONFIG_KERN_PRI 0 +#define CONFIG_KERN_HEAP 0 /** - * Time sharing quantum (a prime number prevents interference effects) [ms]. - * + * 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. -- 2.25.1