projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
cfg
/
cfg_proc.h
diff --git
a/bertos/cfg/cfg_proc.h
b/bertos/cfg/cfg_proc.h
index b2337bf25e6202f4efd600f9d58ac8135344554a..3c9439fb0b002097067e74d87e98ffb16ea57e89 100644
(file)
--- a/
bertos/cfg/cfg_proc.h
+++ b/
bertos/cfg/cfg_proc.h
@@
-32,7
+32,6
@@
*
* \brief Kernel configuration parameters
*
*
* \brief Kernel configuration parameters
*
- * \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
*/
* \author Bernie Innocenti <bernie@codewiz.org>
*/
@@
-54,19
+53,20
@@
#define CONFIG_KERN_IRQ 0
/**
#define CONFIG_KERN_IRQ 0
/**
- *
Dynamic memory allocation for processes
.
+ *
Preemptive process scheduling
.
*
* $WIZ$ type = "boolean"
*
* $WIZ$ type = "boolean"
+ * $WIZ$ conditional_deps = "timer"
*/
*/
-#define CONFIG_KERN_
HEAP
0
+#define CONFIG_KERN_
PREEMPT
0
/**
/**
- *
Preemptive process scheduling. WARNING: Experimental, still incomplete!
+ *
Time sharing quantum (a prime number prevents interference effects) [ms].
*
*
- * $WIZ$ type = "
boolean
"
- * $WIZ$
supports = "False"
+ * $WIZ$ type = "
int
"
+ * $WIZ$
min = 1
*/
*/
-#define CONFIG_KERN_
PREEMPT 0
+#define CONFIG_KERN_
QUANTUM 11
/**
* Priority-based scheduling policy.
/**
* Priority-based scheduling policy.
@@
-75,12
+75,18
@@
#define CONFIG_KERN_PRI 0
/**
#define CONFIG_KERN_PRI 0
/**
- * Time sharing quantum (a prime number prevents interference effects) [ms].
- *
+ * Dynamic memory allocation for processes.
+ * $WIZ$ type = "boolean"
+ * $WIZ$ conditional_deps = "heap"
+ */
+#define CONFIG_KERN_HEAP 0
+
+/**
+ * Size of the dynamic memory pool used by processes.
* $WIZ$ type = "int"
* $WIZ$ type = "int"
- * $WIZ$ min =
1
+ * $WIZ$ min =
0
*/
*/
-#define CONFIG_KERN_
QUANTUM 47
+#define CONFIG_KERN_
HEAP_SIZE 2048L
/**
* Module logging level.
/**
* Module logging level.