4 * This file is part of BeRTOS.
\r
6 * Bertos is free software; you can redistribute it and/or modify
\r
7 * it under the terms of the GNU General Public License as published by
\r
8 * the Free Software Foundation; either version 2 of the License, or
\r
9 * (at your option) any later version.
\r
11 * This program is distributed in the hope that it will be useful,
\r
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
14 * GNU General Public License for more details.
\r
16 * You should have received a copy of the GNU General Public License
\r
17 * along with this program; if not, write to the Free Software
\r
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
\r
20 * As a special exception, you may use this file as part of a free software
\r
21 * library without restriction. Specifically, if other files instantiate
\r
22 * templates or use macros or inline functions from this file, or you compile
\r
23 * this file and link it with other files to produce an executable, this
\r
24 * file does not by itself cause the resulting executable to be covered by
\r
25 * the GNU General Public License. This exception does not however
\r
26 * invalidate any other reasons why the executable file might be covered by
\r
27 * the GNU General Public License.
\r
29 * Copyright 2001, 2004 Develer S.r.l. (http://www.develer.com/)
\r
30 * Copyright 1999, 2000, 2001, 2008 Bernie Innocenti <bernie@codewiz.org>
\r
33 * \brief Kernel configuration parameters
\r
35 * \version $Id: cfg_proc.h 2659 2009-04-24 09:28:30Z batt $
\r
36 * \author Bernie Innocenti <bernie@codewiz.org>
\r
43 * Enable the multithreading kernel.
\r
45 * $WIZ$ type = "autoenabled"
\r
47 #define CONFIG_KERN 1
\r
50 * Kernel interrupt supervisor.
\r
51 * $WIZ$ type = "boolean"
\r
53 #define CONFIG_KERN_IRQ 0
\r
56 * Dynamic memory allocation for processes.
\r
58 * $WIZ$ type = "boolean"
\r
59 * $WIZ$ supports = "False"
\r
61 #define CONFIG_KERN_HEAP 0
\r
64 * Preemptive process scheduling. WARNING: Experimental, still incomplete!
\r
66 * $WIZ$ type = "boolean"
\r
68 #define CONFIG_KERN_PREEMPT 0
\r
71 * Priority-based scheduling policy.
\r
72 * $WIZ$ type = "boolean"
\r
74 #define CONFIG_KERN_PRI 0
\r
77 * Time sharing quantum (a prime number prevents interference effects) [ms].
\r
79 * $WIZ$ type = "int"
\r
82 #define CONFIG_KERN_QUANTUM 47
\r
85 * Module logging level.
\r
87 * $WIZ$ type = "enum"
\r
88 * $WIZ$ value_list = "log_level"
\r
90 #define KERN_LOG_LEVEL LOG_LVL_ERR
\r
93 * Module logging format.
\r
95 * $WIZ$ type = "enum"
\r
96 * $WIZ$ value_list = "log_format"
\r
98 #define KERN_LOG_FORMAT LOG_FMT_VERBOSE
\r
100 #endif /* CFG_PROC_H */
\r