X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_kern.h;h=1330abc48f994514c180ff72abacf464bf3ab7f5;hb=b9e1e52093d33494bf4a8ca27c14a56a25b6e0bc;hp=a135843d2204767e3fc5d69d61006bc6dddf6d58;hpb=515886be3106584a6d695d4b5453730121b91f74;p=bertos.git diff --git a/bertos/cfg/cfg_kern.h b/bertos/cfg/cfg_kern.h index a135843d..1330abc4 100644 --- a/bertos/cfg/cfg_kern.h +++ b/bertos/cfg/cfg_kern.h @@ -26,14 +26,11 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/) - * Copyright 1999,2000,2001 Bernie Innocenti - * + * Copyright 2001, 2004 Develer S.r.l. (http://www.develer.com/) + * Copyright 1999, 2000, 2001, 2008 Bernie Innocenti * --> * - * \brief Kernel configuration parameters - * - * \version $Id$ + * \brief Kernel configuration parameters (deprecated) * * \author Bernie Innocenti */ @@ -41,32 +38,17 @@ #ifndef CFG_KERN_H #define CFG_KERN_H -#include "cfg/cfg_arch.h" /* ARCH_EMUL */ +#warning This file is deprecated, you should use the correct combination of cfg_proc.h, cfg_sem.h, cfg_signal.h and cfg_monitor.h +#include "cfg_proc.h" +#include "cfg_sem.h" +#include "cfg_signal.h" +#include "cfg_monitor.h" -/** - * Multithreading kernel. - */ -#define CONFIG_KERNEL 0 /** - * \name Modules activation - * - * \{ + * Left for backwards compatibility. + * Do not use this anymore, will be deprecated soon. */ -/* Module/option Active Dependencies */ -#define CONFIG_KERN_SCHED (0) -#define CONFIG_KERN_SIGNALS (0 && CONFIG_KERN_SCHED) -#define CONFIG_KERN_TIMER (0) -#define CONFIG_KERN_HEAP (0) -#define CONFIG_KERN_SEMAPHORES (0 && CONFIG_KERN_SIGNALS) -#define CONFIG_KERN_MONITOR (0 && CONFIG_KERN_SCHED) -/*\}*/ - -/* EXPERIMENTAL */ -#define CONFIG_KERN_PREEMPTIVE (0 && CONFIG_KERN_SCHED && CONFIG_KERN_TIMER) - -#define CONFIG_KERN_QUANTUM 50 /**< Time sharing quantum in timer ticks. */ - -#define CONFIG_KERN_LOGLEVEL LOG_LVL_ERR +#define CONFIG_KERN_SCHED CONFIG_KERN #endif /* CFG_KERN_H */