4 * Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
5 * Copyright 1999,2000,2001 Bernardo Innocenti <bernie@develer.com>
6 * This file is part of DevLib - See devlib/README for information.
9 * \brief Kernel configuration parameters
13 * \author Bernardo Innocenti <bernie@develer.com>
18 *#* Revision 1.2 2005/04/11 19:10:27 bernie
19 *#* Include top-level headers from cfg/ subdir.
21 *#* Revision 1.1 2005/04/11 19:04:13 bernie
22 *#* Move top-level headers to cfg/ subdir.
24 *#* Revision 1.5 2004/08/25 14:12:08 rasky
25 *#* Aggiornato il comment block dei log RCS
27 *#* Revision 1.4 2004/08/24 16:19:38 bernie
28 *#* Add missing header.
30 *#* Revision 1.3 2004/07/30 14:24:16 rasky
31 *#* Task switching con salvataggio perfetto stato di interrupt (SR)
32 *#* Kernel monitor per dump informazioni su stack dei processi
34 *#* Revision 1.2 2004/06/03 11:27:09 bernie
35 *#* Add dual-license information.
37 *#* Revision 1.1 2004/05/23 17:48:35 bernie
38 *#* Add top-level files.
44 #include <cfg/arch_config.h> /* ARCH_EMUL */
47 * \name Modules activation
51 /* Module/option Active Dependencies */
52 #define CONFIG_KERN_SCHED (1)
53 #define CONFIG_KERN_SIGNALS (1 && CONFIG_KERN_SCHED)
54 #define CONFIG_KERN_TIMER (1)
55 #define CONFIG_KERN_HEAP (0)
56 #define CONFIG_KERN_SEMAPHORES (0 && CONFIG_KERN_SIGNALS)
57 #define CONFIG_KERN_MONITOR (1 && CONFIG_KERN_SCHED)
61 #define CONFIG_KERN_PREEMPTIVE (0 && CONFIG_KERN_SCHED && CONFIG_KERN_TIMER)
64 #define CONFIG_KERN_HEAPSIZE 0x4000 /*!< Heap size (16KB) */
65 #define CONFIG_KERN_QUANTUM 50 /*!< Scheduler time sharing quantum in ticks */
67 #if (ARCH & ARCH_EMUL)
68 #define CONFIG_KERN_DEFSTACKSIZE 65536
70 #define CONFIG_KERN_DEFSTACKSIZE 128 /*!< Default stack size for each thread */
73 /* Memory fill codes to help debugging */
74 #if CONFIG_KERN_MONITOR
75 #define CONFIG_KERN_STACKFILLCODE 0xA5A5
76 #define CONFIG_KERN_MEMFILLCODE 0xDBDB
80 #endif /* CONFIG_KERN_H */