projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restore correct command.
[bertos.git]
/
bertos
/
kern
/
monitor.h
diff --git
a/bertos/kern/monitor.h
b/bertos/kern/monitor.h
index fd458669f86a72ce4c26a867cc9b6fc0325528de..e2a4742ab4e030721ec9df585062117a7d08cf8b 100644
(file)
--- a/
bertos/kern/monitor.h
+++ b/
bertos/kern/monitor.h
@@
-35,17
+35,19
@@
* \version $Id$
*
* \author Giovanni Bajo <rasky@develer.com>
* \version $Id$
*
* \author Giovanni Bajo <rasky@develer.com>
+ *
+ * $WIZ$ module_name = "monitor"
+ * $WIZ$ module_depends = "kernel"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_monitor.h"
*/
#ifndef KERN_MONITOR_H
#define KERN_MONITOR_H
*/
#ifndef KERN_MONITOR_H
#define KERN_MONITOR_H
-#include "cfg/cfg_
kern
.h"
+#include "cfg/cfg_
monitor
.h"
#include <cpu/types.h>
#include <cpu/types.h>
-#if CONFIG_KERN_MONITOR
-
/**
* Start the kernel monitor. It is a special process which checks every second the stacks of the
* running processes trying to detect stack overflows.
/**
* Start the kernel monitor. It is a special process which checks every second the stacks of the
* running processes trying to detect stack overflows.
@@
-73,6
+75,4
@@
size_t monitor_checkStack(cpu_stack_t *stack_base, size_t stack_size);
/** Print a report of the stack status through kdebug */
void monitor_report(void);
/** Print a report of the stack status through kdebug */
void monitor_report(void);
-
-#endif /* CONFIG_KERN_MONITOR */
#endif /* KERN_MONITOR_H */
#endif /* KERN_MONITOR_H */