bertos/cfg/cfg_kern.h File Reference

Kernel configuration parameters. More...

Go to the source code of this file.


Defines

#define CONFIG_KERN   1
 Enable the multithreading kernel.
#define CONFIG_KERN_QUANTUM   47
 [ms] Time sharing quantum (a prime number prevents interference effects)
#define KERN_LOG_LEVEL   LOG_LVL_ERR
 Module logging level.
#define KERN_LOG_FORMAT   LOG_FMT_VERBOSE
 Module logging format.
Optional kernel features
#define CONFIG_KERN_SCHED   1
 Process schedling.
#define CONFIG_KERN_SIGNALS   1
 Inter-process signals.
#define CONFIG_KERN_IRQ   0
 Interrupt supervisor.
#define CONFIG_KERN_HEAP   0
 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   0
 Priority-based scheduling policy.

Detailed Description

Kernel configuration parameters.

Version:
Id
cfg_kern.h 1867 2008-10-03 14:20:42Z batt
Author:
Bernie Innocenti <bernie@codewiz.org>

Definition in file bertos/cfg/cfg_kern.h.