X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_kern.h;h=1330abc48f994514c180ff72abacf464bf3ab7f5;hb=8ad8e5d325736480a881a7f30bd757f96b87376e;hp=368e59d0387fed43e07a9602542dca0f24e41c55;hpb=19e8a3eae634fead9c233f0c33adfb24c06365d4;p=bertos.git diff --git a/bertos/cfg/cfg_kern.h b/bertos/cfg/cfg_kern.h index 368e59d0..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,31 +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_SCHED CONFIG_KERN #endif /* CFG_KERN_H */