Update benchmark projects.
[bertos.git] / bertos / cfg / cfg_kern.h
index 630d2ec84cb4e92f677ff3b41e31d75561a66835..1330abc48f994514c180ff72abacf464bf3ab7f5 100644 (file)
  * Copyright 1999, 2000, 2001, 2008 Bernie Innocenti <bernie@codewiz.org>
  * -->
  *
- * \brief Kernel configuration parameters
+ * \brief Kernel configuration parameters (deprecated)
  *
- * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
 #ifndef CFG_KERN_H
 #define CFG_KERN_H
 
-/**
- * Enable the multithreading kernel.
- */
-#define CONFIG_KERN  1
+#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"
+
 
 /**
- * \name Optional kernel features
- * \{
+ * Left for backwards compatibility.
+ * Do not use this anymore, will be deprecated soon.
  */
-#define CONFIG_KERN_SCHED       1  ///< Process schedling
-#define CONFIG_KERN_SIGNALS     1  ///< Inter-process signals
-#define CONFIG_KERN_IRQ         1  ///< Interrupt supervisor
-#define CONFIG_KERN_HEAP        1  ///< 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         1  ///< Priority-based scheduling policy
-/*\}*/
-
-/// [ms] Time sharing quantum (a prime number prevents interference effects)
-#define CONFIG_KERN_QUANTUM     47
-
-/// Module logging level.
-#define KERN_LOG_LEVEL      LOG_LVL_ERR
-
-/// Module logging format.
-#define KERN_LOG_FORMAT     LOG_FMT_VERBOSE
+#define CONFIG_KERN_SCHED CONFIG_KERN
 
 #endif /*  CFG_KERN_H */