projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preempt: be sure to never call proc_switch() or proc_yield() with IRQs disabled.
[bertos.git]
/
bertos
/
cfg
/
cfg_proc.h
diff --git
a/bertos/cfg/cfg_proc.h
b/bertos/cfg/cfg_proc.h
index 7b7785e19fb15042900cbdd50814127d8a11c340..97985a991e819dcdbbf8351b39903fd7f37e996e 100644
(file)
--- a/
bertos/cfg/cfg_proc.h
+++ b/
bertos/cfg/cfg_proc.h
@@
-47,28
+47,31
@@
#define CONFIG_KERN 0
/**
#define CONFIG_KERN 0
/**
- * Left for backwards compatibility, do not use.
- * Will be deprecated.
- */
-#define CONFIG_KERN_SCHED CONFIG_KERN
-
-/**
- * Kernel interrupt supervisor.
+ * Kernel interrupt supervisor. WARNING: Experimental, still incomplete!
* $WIZ$ type = "boolean"
* $WIZ$ type = "boolean"
+ * $WIZ$ supports = "False"
*/
#define CONFIG_KERN_IRQ 0
/**
* Dynamic memory allocation for processes.
*/
#define CONFIG_KERN_IRQ 0
/**
* Dynamic memory allocation for processes.
- *
* $WIZ$ type = "boolean"
* $WIZ$ type = "boolean"
+ * $WIZ$ conditional_deps = "heap"
*/
#define CONFIG_KERN_HEAP 0
/**
*/
#define CONFIG_KERN_HEAP 0
/**
- * Preemptive process scheduling. WARNING: Experimental, do not use!
+ * Size of the dynamic memory pool used by processes.
+ * $WIZ$ type = "int"
+ * $WIZ$ min = 0
+ */
+#define CONFIG_KERN_HEAP_SIZE 8192L
+
+/**
+ * Preemptive process scheduling.
*
* $WIZ$ type = "boolean"
*
* $WIZ$ type = "boolean"
+ * $WIZ$ conditional_deps = "timer", "idle"
*/
#define CONFIG_KERN_PREEMPT 0
*/
#define CONFIG_KERN_PREEMPT 0
@@
-82,7
+85,7
@@
* Time sharing quantum (a prime number prevents interference effects) [ms].
*
* $WIZ$ type = "int"
* Time sharing quantum (a prime number prevents interference effects) [ms].
*
* $WIZ$ type = "int"
- * $WIZ$ min =
"0"
+ * $WIZ$ min =
1
*/
#define CONFIG_KERN_QUANTUM 47
*/
#define CONFIG_KERN_QUANTUM 47
@@
-95,10
+98,10
@@
#define KERN_LOG_LEVEL LOG_LVL_ERR
/**
#define KERN_LOG_LEVEL LOG_LVL_ERR
/**
- * Module logging
level
.
+ * Module logging
format
.
*
* $WIZ$ type = "enum"
*
* $WIZ$ type = "enum"
- * $WIZ$ value_list = "log_
level
"
+ * $WIZ$ value_list = "log_
format
"
*/
#define KERN_LOG_FORMAT LOG_FMT_VERBOSE
*/
#define KERN_LOG_FORMAT LOG_FMT_VERBOSE