From: asterix Date: Mon, 9 Feb 2009 11:43:25 +0000 (+0000) Subject: Fix comments. Add wizard info. X-Git-Tag: 2.1.0~353 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a66622f826a7ee317cb0459735cbb70bbd27e6da;p=bertos.git Fix comments. Add wizard info. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2329 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/cfg_kern.h b/bertos/cfg/cfg_kern.h index 71cb072b..8bf4325f 100644 --- a/bertos/cfg/cfg_kern.h +++ b/bertos/cfg/cfg_kern.h @@ -41,25 +41,39 @@ /** * Enable the multithreading kernel. + * + * $WIZARD = { "type" : "boolean" } */ #define CONFIG_KERN 1 -#define CONFIG_KERN_SCHED 1 ///< Process schedling -#define CONFIG_KERN_SIGNALS 1 ///< Inter-process signals -#define CONFIG_KERN_IRQ 0 ///< Interrupt supervisor -#define CONFIG_KERN_HEAP 0 ///< Dynamic memory allocation -#define CONFIG_KERN_SEMAPHORES 1 ///< Re-entrant mutual exclusion primitives -#define CONFIG_KERN_MONITOR 1 ///< Process monitor -#define CONFIG_KERN_PREEMPT 0 ///< Preemptive process scheduling -#define CONFIG_KERN_PRI 0 ///< Priority-based scheduling policy +#define CONFIG_KERN_SCHED 1 ///< Process schedling. $WIZARD = { "type" : "boolean" } +#define CONFIG_KERN_SIGNALS 1 ///< Inter-process signals. $WIZARD = { "type" : "boolean" } +#define CONFIG_KERN_IRQ 0 ///< Interrupt supervisor. $WIZARD = { "type" : "boolean" } +#define CONFIG_KERN_HEAP 0 ///< Dynamic memory allocation. $WIZARD = { "type" : "boolean" } +#define CONFIG_KERN_SEMAPHORES 1 ///< Re-entrant mutual exclusion primitives. $WIZARD = { "type" : "boolean" } +#define CONFIG_KERN_MONITOR 1 ///< Process monitor. $WIZARD = { "type" : "boolean" } +#define CONFIG_KERN_PREEMPT 0 ///< Preemptive process scheduling. $WIZARD = { "type" : "boolean" } +#define CONFIG_KERN_PRI 0 ///< Priority-based scheduling policy. $WIZARD = { "type" : "boolean" } -/// [ms] Time sharing quantum (a prime number prevents interference effects) +/** + * [ms] Time sharing quantum (a prime number prevents interference effects) + * + * $WIZARD = { "type" : "int", "min" : "0" } + */ #define CONFIG_KERN_QUANTUM 47 -/// Module logging level. +/** + * Module logging level. + * + * $WIZARD = { "type" : "enum", "value_list" : "log_level" } + */ #define KERN_LOG_LEVEL LOG_LVL_ERR -/// Module logging format. +/** + * Module logging level. + * + * $WIZARD = { "type" : "enum", "value_list" : "log_level" } + */ #define KERN_LOG_FORMAT LOG_FMT_VERBOSE #endif /* CFG_KERN_H */ diff --git a/bertos/kern/proc.h b/bertos/kern/proc.h index d5b16889..693cd72c 100644 --- a/bertos/kern/proc.h +++ b/bertos/kern/proc.h @@ -30,11 +30,18 @@ * Copyright 1999, 2000, 2001, 2008 Bernie Innocenti * --> * - * \brief Process scheduler (public interface). + * \brief Bertos Kernel core (Process scheduler). * * \version $Id$ * \author Bernie Innocenti + * + * $WIZARD_MODULE = { + * "name" : "kernel", + * "depends" : [], + * "configuration" : "bertos/cfg/cfg_kern.h" + * } */ + #ifndef KERN_PROC_H #define KERN_PROC_H