X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fmonitor.h;h=a414d87b05ef2bd36ebe520ce50510799799ada8;hb=e8b0472be10fba4ca6baa62d8d483db90e28c06e;hp=fd458669f86a72ce4c26a867cc9b6fc0325528de;hpb=e62ca0b357f09804d7d894949df44224c9d74bb7;p=bertos.git diff --git a/bertos/kern/monitor.h b/bertos/kern/monitor.h index fd458669..a414d87b 100644 --- a/bertos/kern/monitor.h +++ b/bertos/kern/monitor.h @@ -32,20 +32,21 @@ * * \brief Monitor to check for stack overflows * - * \version $Id$ * * \author Giovanni Bajo + * + * $WIZ$ module_name = "monitor" + * $WIZ$ module_depends = "kernel" + * $WIZ$ module_configuration = "bertos/cfg/cfg_monitor.h" */ #ifndef KERN_MONITOR_H #define KERN_MONITOR_H -#include "cfg/cfg_kern.h" +#include "cfg/cfg_monitor.h" #include -#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. @@ -73,6 +74,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); - -#endif /* CONFIG_KERN_MONITOR */ #endif /* KERN_MONITOR_H */