4 * Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
5 * Copyright 1999,2000,2001 Bernardo Innocenti <bernie@develer.com>
9 * \brief Kernel configuration parameters
13 * \author Bernardo Innocenti <bernie@develer.com>
18 * Revision 1.1 2004/05/23 17:48:35 bernie
19 * Add top-level files.
26 * \name Modules activation
30 /* Module/option Active Dependencies */
31 #define CONFIG_KERN_SCHED (1)
32 #define CONFIG_KERN_SIGNALS (1 && CONFIG_KERN_SCHED)
33 #define CONFIG_KERN_TIMER (1 && CONFIG_KERN_SIGNALS)
34 #define CONFIG_KERN_HEAP (0)
35 #define CONFIG_KERN_SEMAPHORES (0 && CONFIG_KERN_SIGNALS)
39 #define CONFIG_KERN_PREEMPTIVE (0 && CONFIG_KERN_SCHED && CONFIG_KERN_TIMER)
42 #define CONFIG_KERN_HEAPSIZE 0x4000 /*!< Heap size (16KB) */
43 #define CONFIG_KERN_QUANTUM 50 /*!< Scheduler time sharing quantum in ticks */
45 #if (ARCH & ARCH_EMUL)
46 #define CONFIG_KERN_DEFSTACKSIZE 65536
48 #define CONFIG_KERN_DEFSTACKSIZE 128 /*!< Default stack size for each thread */
51 /* Memory fill codes to help debugging */
53 #define CONFIG_KERN_STACKFILLCODE 0xE1
54 #define CONFIG_KERN_MEMFILLCODE 0xDB
57 #endif /* CONFIG_KERN_H */