projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add clear status.
[bertos.git]
/
kern
/
monitor.h
diff --git
a/kern/monitor.h
b/kern/monitor.h
index 352d83b758b456e9f9252a7747c595e25157006b..86d9284b370dfccdb0b0b8a5e16969897951decd 100755
(executable)
--- a/
kern/monitor.h
+++ b/
kern/monitor.h
@@
-1,4
+1,4
@@
-/*
!
+/*
*
* \file
* <!--
* Copyright 2004 Develer S.r.l. (http://www.develer.com/)
* \file
* <!--
* Copyright 2004 Develer S.r.l. (http://www.develer.com/)
@@
-14,6
+14,12
@@
/*#*
*#* $Log$
/*#*
*#* $Log$
+ *#* Revision 1.5 2006/07/19 12:56:27 bernie
+ *#* Convert to new Doxygen style.
+ *#*
+ *#* Revision 1.4 2006/02/24 01:17:05 bernie
+ *#* Update for new emulator.
+ *#*
*#* Revision 1.3 2005/11/04 16:20:02 bernie
*#* Fix reference to README.devlib in header.
*#*
*#* Revision 1.3 2005/11/04 16:20:02 bernie
*#* Fix reference to README.devlib in header.
*#*
@@
-33,11
+39,11
@@
#define KERN_MONITOR_H
#include <cfg/cpu.h>
#define KERN_MONITOR_H
#include <cfg/cpu.h>
-#include <c
fg/c
onfig_kern.h>
+#include <config_kern.h>
#if CONFIG_KERN_MONITOR
#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.
*
@@
-50,7
+56,7
@@
void monitor_start(size_t stacksize, cpustack_t *stack);
void monitor_start(size_t stacksize, cpustack_t *stack);
-/*
!
+/*
*
* Manually check if a given stack has overflown. This is used to check for stacks
* of processes handled externally form the kernel, or for other stacks (for instance
* the interrupt supervisor stack).
* Manually check if a given stack has overflown. This is used to check for stacks
* of processes handled externally form the kernel, or for other stacks (for instance
* the interrupt supervisor stack).
@@
-58,10
+64,10
@@
void monitor_start(size_t stacksize, cpustack_t *stack);
* \note For this function to work, the stack must have been filled at startup with
* CONFIG_KERN_STACKFILLCODE.
*/
* \note For this function to work, the stack must have been filled at startup with
* CONFIG_KERN_STACKFILLCODE.
*/
-size_t monitor_check
_stack(cpustack_t*
stack_base, size_t stack_size);
+size_t monitor_check
Stack(cpustack_t *
stack_base, size_t stack_size);
-/*
!
Print a report of the stack status through kdebug */
+/*
*
Print a report of the stack status through kdebug */
void monitor_report(void);
void monitor_report(void);